home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / admin-v1.000 / admin-v1
Tape Archive  |  1995-05-21  |  410.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Tape Archive (archive/tar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive (GNU) default
99% file POSIX tar archive (GNU), file README.1st, mode 100644 , uid 0 , gid 0 , size 6550 , seconds 5757537637, user root, group root default
98% file data default
62% TrID TAR - Tape ARchive (GNU) default
37% TrID TAR - Tape ARchive (file) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype GNU tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive (GNU), owner user name: "st" default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 45 41 44 4d 45 2e 31 | 73 74 00 00 00 00 00 00 |README.1|st......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00000070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00000080| 20 20 20 36 35 35 30 20 | 20 35 37 35 37 35 33 37 | 6550 | 5757537|
|00000090| 36 33 37 20 20 31 30 35 | 36 31 00 20 30 00 00 00 |637 105|61. 0...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 54 68 65 20 41 64 6d 69 | 6e 20 4d 65 6e 75 20 69 |The Admi|n Menu i|
|00000210| 73 20 61 20 63 6f 70 79 | 72 69 67 68 74 65 64 20 |s a copy|righted |
|00000220| 73 63 72 69 70 74 20 62 | 79 20 45 6d 6d 65 74 74 |script b|y Emmett|
|00000230| 20 53 61 75 65 72 20 61 | 6e 64 20 4c 69 6e 75 78 | Sauer a|nd Linux|
|00000240| 20 42 75 73 69 6e 65 73 | 73 0a 53 79 73 74 65 6d | Busines|s.System|
|00000250| 73 2e 20 20 49 74 20 69 | 73 20 46 72 65 65 77 61 |s. It i|s Freewa|
|00000260| 72 65 2c 20 62 75 74 20 | 69 66 20 72 65 64 69 73 |re, but |if redis|
|00000270| 74 72 69 62 75 74 65 64 | 20 6d 75 73 74 20 63 6f |tributed| must co|
|00000280| 6e 74 61 69 6e 20 74 68 | 65 20 6f 72 69 67 69 6e |ntain th|e origin|
|00000290| 61 6c 0a 66 69 6c 65 73 | 20 61 6e 64 20 6e 6f 74 |al.files| and not|
|000002a0| 69 63 65 73 2e 20 20 41 | 73 20 49 20 77 69 6c 6c |ices. A|s I will|
|000002b0| 20 74 72 79 20 61 6e 64 | 20 6b 65 65 70 20 75 70 | try and| keep up|
|000002c0| 64 61 74 69 6e 67 20 69 | 74 20 61 73 20 74 69 6d |dating i|t as tim|
|000002d0| 65 20 67 6f 65 73 20 6f | 6e 2e 0a 0a 0a 49 20 73 |e goes o|n....I s|
|000002e0| 74 61 72 74 65 64 20 74 | 68 69 73 20 73 6d 61 6c |tarted t|his smal|
|000002f0| 6c 20 62 75 74 20 68 65 | 6c 70 66 75 6c 20 70 72 |l but he|lpful pr|
|00000300| 6f 6a 65 63 74 20 74 6f | 20 61 69 64 20 6d 79 20 |oject to| aid my |
|00000310| 4c 69 6e 75 78 20 42 75 | 73 69 6e 65 73 73 20 53 |Linux Bu|siness S|
|00000320| 79 73 74 65 6d 0a 63 6c | 69 65 6e 74 73 20 69 6e |ystem.cl|ients in|
|00000330| 20 61 64 6d 69 6e 69 73 | 74 72 61 74 69 6e 67 20 | adminis|trating |
|00000340| 74 68 65 69 72 20 73 79 | 73 74 65 6d 73 2e 20 20 |their sy|stems. |
|00000350| 49 20 68 61 76 65 20 6f | 74 68 65 72 20 73 63 72 |I have o|ther scr|
|00000360| 69 70 74 73 20 74 68 61 | 74 20 61 72 65 20 61 6c |ipts tha|t are al|
|00000370| 73 6f 0a 69 6e 20 75 73 | 65 20 62 79 20 6d 79 20 |so.in us|e by my |
|00000380| 63 6c 69 65 6e 74 73 2c | 20 74 68 61 74 20 49 20 |clients,| that I |
|00000390| 77 69 6c 6c 20 72 65 6c | 65 61 73 65 20 61 73 20 |will rel|ease as |
|000003a0| 73 6f 6f 6e 20 61 73 20 | 49 20 63 61 6e 2e 0a 0a |soon as |I can...|
|000003b0| 54 68 69 73 20 73 63 72 | 69 70 74 20 6d 61 6b 65 |This scr|ipt make|
|000003c0| 73 20 74 68 65 20 61 64 | 6d 69 6e 69 73 74 72 61 |s the ad|ministra|
|000003d0| 74 6f 72 27 73 20 64 75 | 74 69 65 73 20 61 20 6c |tor's du|ties a l|
|000003e0| 69 74 74 6c 65 20 65 61 | 73 69 65 72 20 61 6e 64 |ittle ea|sier and|
|000003f0| 20 6c 65 73 73 0a 63 6f | 6d 70 6c 69 63 61 74 65 | less.co|mplicate|
|00000400| 64 2e 20 20 4d 6f 73 74 | 20 6e 65 77 20 75 73 65 |d. Most| new use|
|00000410| 72 73 20 74 6f 20 4c 69 | 6e 75 78 20 61 72 65 20 |rs to Li|nux are |
|00000420| 61 6c 73 6f 20 6e 65 77 | 20 74 6f 20 61 6e 79 20 |also new| to any |
|00000430| 74 79 70 65 20 6f 66 20 | 2a 6e 69 78 0a 73 79 73 |type of |*nix.sys|
|00000440| 74 65 6d 2c 20 73 6f 20 | 6a 75 73 74 20 67 65 74 |tem, so |just get|
|00000450| 74 69 6e 67 20 74 68 65 | 69 72 20 70 72 6f 67 72 |ting the|ir progr|
|00000460| 61 6d 73 20 74 6f 20 72 | 75 6e 20 69 73 20 61 20 |ams to r|un is a |
|00000470| 63 68 6f 72 65 20 73 6f | 6d 65 74 69 6d 65 73 2e |chore so|metimes.|
|00000480| 20 20 54 68 65 0a 73 63 | 72 69 70 74 20 28 41 64 | The.sc|ript (Ad|
|00000490| 6d 69 6e 20 4d 65 6e 75 | 29 20 75 73 65 73 20 6f |min Menu|) uses o|
|000004a0| 74 68 65 72 20 61 76 61 | 69 6c 61 62 6c 65 20 62 |ther ava|ilable b|
|000004b0| 69 6e 61 72 69 65 73 20 | 61 6e 64 20 73 6f 6d 65 |inaries |and some|
|000004c0| 20 73 63 72 69 70 74 73 | 20 74 6f 20 64 6f 20 61 | scripts| to do a|
|000004d0| 0a 6c 6f 74 20 6f 66 20 | 74 68 65 20 77 6f 72 6b |.lot of |the work|
|000004e0| 2c 20 49 20 63 6f 75 6c | 64 20 6e 6f 74 20 73 65 |, I coul|d not se|
|000004f0| 65 20 6d 79 73 65 6c 66 | 20 74 72 79 69 6e 67 20 |e myself| trying |
|00000500| 74 6f 20 72 65 64 6f 20 | 73 6f 6d 65 20 61 6c 72 |to redo |some alr|
|00000510| 65 61 64 79 20 67 6f 6f | 64 0a 73 74 75 66 66 2e |eady goo|d.stuff.|
|00000520| 20 0a 0a 30 35 2d 32 30 | 2d 31 39 39 35 0a 0a 52 | ..05-20|-1995..R|
|00000530| 65 6c 65 61 73 65 64 20 | 6e 65 77 20 75 70 64 61 |eleased |new upda|
|00000540| 74 65 64 20 76 65 72 73 | 69 6f 6e 20 31 2e 32 20 |ted vers|ion 1.2 |
|00000550| 61 6e 64 20 69 74 20 77 | 61 73 20 63 68 61 6e 67 |and it w|as chang|
|00000560| 65 64 20 63 6f 73 6d 65 | 74 69 63 61 6c 6c 79 20 |ed cosme|tically |
|00000570| 74 6f 20 0a 67 69 76 65 | 20 6d 6f 72 65 20 66 6c |to .give| more fl|
|00000580| 6f 77 2e 20 20 54 68 65 | 20 6e 65 77 73 2d 6d 61 |ow. The| news-ma|
|00000590| 69 6c 20 6f 70 74 69 6f | 6e 20 69 73 20 6e 6f 74 |il optio|n is not|
|000005a0| 20 72 65 61 64 79 20 66 | 6f 72 20 72 65 6c 65 61 | ready f|or relea|
|000005b0| 73 65 20 61 73 20 6f 66 | 0a 74 68 69 73 20 64 61 |se as of|.this da|
|000005c0| 74 65 2c 20 62 75 74 20 | 77 69 6c 6c 20 62 65 20 |te, but |will be |
|000005d0| 73 6f 6f 6e 2e 0a 0a 49 | 20 68 61 76 65 20 65 6e |soon...I| have en|
|000005e0| 63 6c 6f 73 65 64 20 6d | 6f 73 74 20 6f 66 20 77 |closed m|ost of w|
|000005f0| 68 61 74 20 61 6c 6c 20 | 69 73 20 75 73 65 64 2c |hat all |is used,|
|00000600| 20 49 20 6d 61 79 20 74 | 68 6f 75 67 68 20 68 61 | I may t|hough ha|
|00000610| 76 65 20 6f 76 65 72 6c | 6f 6f 6b 65 64 0a 73 6f |ve overl|ooked.so|
|00000620| 6d 65 74 68 69 6e 67 20 | 61 6e 64 20 69 66 20 49 |mething |and if I|
|00000630| 20 64 69 64 20 70 6c 65 | 61 73 65 20 6c 65 74 20 | did ple|ase let |
|00000640| 6d 65 20 6b 6e 6f 77 2e | 20 20 20 0a 0a 46 69 6c |me know.| ..Fil|
|00000650| 65 73 20 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 74 |es inclu|ded in t|
|00000660| 68 65 20 41 64 6d 69 6e | 20 70 61 63 6b 61 67 65 |he Admin| package|
|00000670| 20 61 72 65 3a 0a 0a 09 | 41 64 6d 69 6e 20 20 20 | are:...|Admin |
|00000680| 20 20 20 2d 20 20 20 54 | 68 65 20 6d 65 6e 75 20 | - T|he menu |
|00000690| 73 63 72 69 70 74 0a 09 | 61 64 6d 69 6e 2e 74 78 |script..|admin.tx|
|000006a0| 74 20 20 2d 20 20 20 54 | 68 69 73 20 74 65 78 74 |t - T|his text|
|000006b0| 20 66 69 6c 65 0a 09 64 | 69 61 6c 6f 67 20 20 20 | file..d|ialog |
|000006c0| 20 20 2d 20 20 20 54 68 | 65 20 75 73 65 66 75 6c | - Th|e useful|
|000006d0| 20 44 69 61 6c 6f 67 20 | 76 30 2e 35 20 61 70 70 | Dialog |v0.5 app|
|000006e0| 6c 69 63 61 74 69 6f 6e | 0a 09 54 65 78 4d 67 72 |lication|..TexMgr|
|000006f0| 09 20 20 20 2d 20 20 20 | 41 20 67 6f 6f 64 20 54 |. - |A good T|
|00000700| 65 58 20 6d 65 6e 75 20 | 73 63 72 69 70 74 20 77 |eX menu |script w|
|00000710| 69 74 68 20 6d 79 20 6d | 6f 64 69 66 69 63 61 74 |ith my m|odificat|
|00000720| 69 6f 6e 73 0a 09 67 69 | 74 09 20 20 20 2d 20 20 |ions..gi|t. - |
|00000730| 20 41 20 47 4e 55 20 66 | 69 6c 65 20 6d 61 6e 61 | A GNU f|ile mana|
|00000740| 67 65 72 20 61 6e 64 20 | 6d 6f 72 65 0a 09 70 72 |ger and |more..pr|
|00000750| 6f 63 69 6e 66 6f 20 20 | 20 2d 20 20 20 41 20 73 |ocinfo | - A s|
|00000760| 79 73 74 65 6d 20 70 72 | 6f 63 65 73 73 65 73 20 |ystem pr|ocesses |
|00000770| 76 69 65 77 65 72 0a 09 | 6e 65 77 73 09 20 20 20 |viewer..|news. |
|00000780| 2d 20 20 20 41 20 73 79 | 73 74 65 6d 20 6e 65 77 |- A sy|stem new|
|00000790| 73 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 0a 09 4c |s applic|ation..L|
|000007a0| 42 55 09 20 20 20 2d 20 | 20 20 4c 69 6e 75 78 20 |BU. - | Linux |
|000007b0| 42 61 63 6b 75 70 20 55 | 74 69 6c 69 74 79 0a 09 |Backup U|tility..|
|000007c0| 73 61 63 09 20 20 20 2d | 20 20 20 53 79 73 74 65 |sac. -| Syste|
|000007d0| 6d 20 61 63 63 6f 75 6e | 74 69 6e 67 20 74 6f 6f |m accoun|ting too|
|000007e0| 6c 0a 09 64 66 63 6b 09 | 20 20 20 2d 20 20 20 46 |l..dfck.| - F|
|000007f0| 69 6c 65 73 79 73 74 65 | 6d 20 63 68 65 63 6b 20 |ilesyste|m check |
|00000800| 73 63 72 69 70 74 0a 09 | 6c 6f 61 64 20 20 20 20 |script..|load |
|00000810| 20 20 20 2d 20 20 20 53 | 79 73 74 65 6d 20 6c 6f | - S|ystem lo|
|00000820| 61 64 20 63 68 65 63 6b | 65 72 0a 09 75 73 72 64 |ad check|er..usrd|
|00000830| 73 6b 73 70 20 20 20 2d | 20 20 20 55 73 65 72 20 |sksp -| User |
|00000840| 64 69 73 6b 20 73 70 61 | 63 65 20 63 68 65 63 6b |disk spa|ce check|
|00000850| 65 72 0a 09 6c 6f 67 69 | 6e 2d 73 63 72 69 70 74 |er..logi|n-script|
|00000860| 73 20 20 2d 20 41 64 64 | 69 74 69 6f 6e 73 20 74 |s - Add|itions t|
|00000870| 6f 20 68 65 6c 70 20 74 | 72 61 63 6b 69 6e 67 20 |o help t|racking |
|00000880| 6c 6f 67 69 6e 73 0a 20 | 20 20 20 20 20 20 20 0a |logins. | .|
|00000890| 49 20 77 69 6c 6c 20 61 | 73 73 75 6d 65 20 74 68 |I will a|ssume th|
|000008a0| 61 74 20 79 6f 75 20 68 | 61 76 65 20 6e 65 74 77 |at you h|ave netw|
|000008b0| 6f 72 6b 69 6e 67 20 69 | 6e 73 74 61 6c 6c 65 64 |orking i|nstalled|
|000008c0| 20 61 6e 64 20 61 6c 6c | 20 72 65 6c 61 74 65 64 | and all| related|
|000008d0| 20 66 69 6c 65 73 2c 20 | 0a 61 6c 73 6f 20 61 73 | files, |.also as|
|000008e0| 73 75 6d 65 20 79 6f 75 | 20 68 61 76 65 20 64 69 |sume you| have di|
|000008f0| 73 6b 71 75 6f 74 61 73 | 20 69 6e 73 74 61 6c 6c |skquotas| install|
|00000900| 65 64 2e 20 20 49 20 77 | 69 6c 6c 20 6e 6f 74 20 |ed. I w|ill not |
|00000910| 61 74 74 65 6d 70 74 20 | 74 6f 20 69 6e 63 6c 75 |attempt |to inclu|
|00000920| 64 65 0a 74 68 65 73 65 | 20 61 73 20 49 20 68 61 |de.these| as I ha|
|00000930| 76 65 20 6e 6f 20 69 64 | 65 61 20 77 68 61 74 20 |ve no id|ea what |
|00000940| 76 65 72 73 69 6f 6e 20 | 6f 66 20 4c 69 6e 75 78 |version |of Linux|
|00000950| 20 79 6f 75 20 75 73 65 | 2e 0a 09 09 0a 0a 49 4e | you use|......IN|
|00000960| 53 54 41 4c 4c 41 54 49 | 4f 4e 0a 0a 49 20 69 6e |STALLATI|ON..I in|
|00000970| 73 74 61 6c 6c 65 64 20 | 61 6c 6c 20 6d 79 20 73 |stalled |all my s|
|00000980| 63 72 69 70 74 73 20 61 | 6e 64 20 62 69 6e 61 72 |cripts a|nd binar|
|00000990| 69 65 73 20 69 6e 20 2f | 73 62 69 6e 2c 20 6d 61 |ies in /|sbin, ma|
|000009a0| 6b 65 20 73 75 72 65 20 | 79 6f 75 20 68 61 76 65 |ke sure |you have|
|000009b0| 20 61 63 63 65 73 73 0a | 74 6f 20 2f 76 61 72 2f | access.|to /var/|
|000009c0| 61 64 6d 20 64 69 72 65 | 63 74 6f 72 79 20 61 6e |adm dire|ctory an|
|000009d0| 64 20 27 74 6f 75 63 68 | 20 2f 76 61 72 2f 61 64 |d 'touch| /var/ad|
|000009e0| 6d 2f 41 64 6d 69 6e 2e | 4c 6f 67 27 20 74 6f 20 |m/Admin.|Log' to |
|000009f0| 65 73 74 61 62 6c 69 73 | 68 20 74 68 61 74 20 66 |establis|h that f|
|00000a00| 69 6c 65 2e 0a 4e 65 78 | 74 20 73 65 74 75 70 20 |ile..Nex|t setup |
|00000a10| 79 6f 75 72 20 6e 65 77 | 73 20 73 79 73 74 65 6d |your new|s system|
|00000a20| 20 61 73 20 70 65 72 20 | 74 68 61 74 20 70 61 63 | as per |that pac|
|00000a30| 6b 61 67 65 20 61 6e 64 | 20 74 65 78 6d 67 72 20 |kage and| texmgr |
|00000a40| 74 68 65 20 73 61 6d 65 | 2e 0a 43 6f 6d 70 69 6c |the same|..Compil|
|00000a50| 65 20 61 6e 64 20 69 6e | 73 74 61 6c 6c 20 74 68 |e and in|stall th|
|00000a60| 65 20 67 69 74 2c 20 74 | 68 65 20 70 72 6f 63 69 |e git, t|he proci|
|00000a70| 6e 66 6f 20 61 6e 64 20 | 64 69 61 6c 6f 67 20 70 |nfo and |dialog p|
|00000a80| 61 63 6b 61 67 65 73 2e | 0a 0a 54 68 65 20 6d 65 |ackages.|..The me|
|00000a90| 6e 75 20 75 73 65 73 20 | 73 6f 6d 65 20 64 65 66 |nu uses |some def|
|00000aa0| 61 75 6c 74 73 20 74 68 | 61 74 20 79 6f 75 20 6d |aults th|at you m|
|00000ab0| 61 79 20 77 61 6e 74 20 | 74 6f 20 63 68 61 6e 67 |ay want |to chang|
|00000ac0| 65 2c 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 47 |e, the d|efault G|
|00000ad0| 49 44 20 69 73 0a 31 30 | 30 2c 20 74 68 65 20 55 |ID is.10|0, the U|
|00000ae0| 49 44 20 69 73 20 74 68 | 65 20 6c 61 73 74 20 65 |ID is th|e last e|
|00000af0| 6e 74 72 79 20 69 6e 20 | 74 68 65 20 70 61 73 73 |ntry in |the pass|
|00000b00| 77 64 20 66 69 6c 65 20 | 70 6c 75 73 20 31 2c 20 |wd file |plus 1, |
|00000b10| 74 68 65 20 68 6f 6d 65 | 20 64 69 72 65 63 74 6f |the home| directo|
|00000b20| 72 79 0a 6f 66 20 6e 65 | 77 20 75 73 65 72 73 20 |ry.of ne|w users |
|00000b30| 69 73 20 2f 68 6f 6d 65 | 2f 75 73 65 72 73 2f 24 |is /home|/users/$|
|00000b40| 55 73 65 72 4e 61 6d 65 | 2c 20 74 68 65 20 64 65 |UserName|, the de|
|00000b50| 66 61 75 6c 74 20 73 68 | 65 6c 6c 20 69 73 20 2f |fault sh|ell is /|
|00000b60| 62 69 6e 2f 62 61 73 68 | 20 61 6e 64 0a 61 6c 6c |bin/bash| and.all|
|00000b70| 20 6e 65 77 20 75 73 65 | 72 20 72 65 71 75 69 72 | new use|r requir|
|00000b80| 65 64 20 66 69 6c 65 73 | 20 61 72 65 20 63 6f 70 |ed files| are cop|
|00000b90| 69 65 64 20 66 72 6f 6d | 20 74 68 65 20 2f 65 74 |ied from| the /et|
|00000ba0| 63 2f 73 6b 65 6c 20 64 | 69 72 65 63 74 6f 72 79 |c/skel d|irectory|
|00000bb0| 2e 20 20 49 20 68 61 76 | 65 0a 69 6e 73 74 61 6c |. I hav|e.instal|
|00000bc0| 6c 65 64 20 61 20 6e 65 | 77 20 41 45 44 49 54 20 |led a ne|w AEDIT |
|00000bd0| 61 6e 64 20 45 44 49 54 | 4f 52 20 76 61 72 69 61 |and EDIT|OR varia|
|00000be0| 62 6c 65 73 2c 20 62 75 | 74 20 79 6f 75 20 6a 75 |bles, bu|t you ju|
|00000bf0| 73 74 20 68 61 76 65 20 | 74 6f 20 73 65 74 20 74 |st have |to set t|
|00000c00| 68 65 0a 41 45 44 49 54 | 20 74 6f 20 79 6f 75 72 |he.AEDIT| to your|
|00000c10| 20 66 61 76 6f 72 69 74 | 65 20 65 64 69 74 6f 72 | favorit|e editor|
|00000c20| 2e 20 20 20 59 6f 75 20 | 6d 61 79 20 68 61 76 65 |. You |may have|
|00000c30| 20 74 6f 20 6d 61 6b 65 | 20 73 75 72 65 20 74 68 | to make| sure th|
|00000c40| 61 74 20 74 68 65 20 45 | 44 49 54 4f 52 0a 65 6e |at the E|DITOR.en|
|00000c50| 76 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 73 65 |v variab|le is se|
|00000c60| 74 20 69 6e 20 20 79 6f | 75 72 20 2e 70 72 6f 66 |t in yo|ur .prof|
|00000c70| 69 6c 65 2e 0a 0a 0a 54 | 68 65 20 6d 65 6e 75 20 |ile....T|he menu |
|00000c80| 61 6c 6c 6f 77 73 20 74 | 68 65 20 61 64 6d 69 6e |allows t|he admin|
|00000c90| 20 74 6f 20 6c 69 73 74 | 2c 20 61 64 64 20 61 6e | to list|, add an|
|00000ca0| 64 20 64 65 6c 65 74 65 | 20 75 73 65 72 73 20 61 |d delete| users a|
|00000cb0| 6e 64 20 67 72 6f 75 70 | 73 2e 20 20 49 74 0a 61 |nd group|s. It.a|
|00000cc0| 6c 6c 6f 77 73 20 74 68 | 65 20 61 64 6d 69 6e 20 |llows th|e admin |
|00000cd0| 74 6f 20 63 68 65 63 6b | 20 6f 6e 20 6d 6f 73 74 |to check| on most|
|00000ce0| 20 61 6c 6c 20 73 79 73 | 74 65 6d 20 70 72 6f 63 | all sys|tem proc|
|00000cf0| 65 73 73 65 73 20 69 6e | 63 6c 75 64 69 6e 67 20 |esses in|cluding |
|00000d00| 74 68 65 0a 6e 65 74 77 | 6f 72 6b 2e 20 20 49 74 |the.netw|ork. It|
|00000d10| 20 61 6c 73 6f 20 68 61 | 73 20 73 6f 6d 65 20 75 | also ha|s some u|
|00000d20| 6e 69 71 75 65 20 70 72 | 69 6e 74 20 6d 61 6e 61 |nique pr|int mana|
|00000d30| 67 65 6d 65 6e 74 20 66 | 65 61 74 75 72 65 73 20 |gement f|eatures |
|00000d40| 69 6e 63 6c 75 64 69 6e | 67 20 74 68 65 0a 70 72 |includin|g the.pr|
|00000d50| 6f 63 65 73 73 69 6e 67 | 20 6f 66 20 74 65 78 2c |ocessing| of tex,|
|00000d60| 20 64 76 69 20 61 6e 64 | 20 70 73 20 66 69 6c 65 | dvi and| ps file|
|00000d70| 73 20 28 76 69 61 20 74 | 65 78 6d 67 72 29 2e 0a |s (via t|exmgr)..|
|00000d80| 0a 41 6e 64 20 69 74 20 | 6b 65 65 70 73 20 61 20 |.And it |keeps a |
|00000d90| 6c 6f 67 20 6f 66 20 73 | 6f 6d 65 20 6f 66 20 74 |log of s|ome of t|
|00000da0| 68 65 20 63 68 61 6e 67 | 65 73 2c 20 6d 6f 72 65 |he chang|es, more|
|00000db0| 20 74 6f 20 62 65 20 61 | 64 64 65 64 20 69 6e 20 | to be a|dded in |
|00000dc0| 74 68 65 20 6e 65 78 74 | 0a 72 65 6c 65 61 73 65 |the next|.release|
|00000dd0| 2e 20 41 6e 64 20 69 6e | 20 74 68 65 20 6c 6f 67 |. And in| the log|
|00000de0| 67 69 6e 67 20 66 65 61 | 74 75 72 65 20 69 74 20 |ging fea|ture it |
|00000df0| 61 6c 6c 6f 77 73 20 79 | 6f 75 20 74 6f 20 6d 61 |allows y|ou to ma|
|00000e00| 6e 75 61 6c 6c 79 20 61 | 64 64 20 6e 6f 74 65 73 |nually a|dd notes|
|00000e10| 20 74 6f 0a 74 68 65 20 | 6c 6f 67 20 66 69 6c 65 | to.the |log file|
|00000e20| 2e 0a 0a 49 20 66 65 65 | 6c 20 74 68 61 74 20 69 |...I fee|l that i|
|00000e30| 74 20 69 73 20 65 61 73 | 79 20 74 6f 20 75 73 65 |t is eas|y to use|
|00000e40| 20 61 6e 64 20 6d 61 69 | 6e 74 61 69 6e 2c 20 74 | and mai|ntain, t|
|00000e50| 68 65 20 69 6e 73 74 61 | 6c 6c 61 74 69 6f 6e 20 |he insta|llation |
|00000e60| 63 61 6e 20 62 65 20 61 | 20 62 69 74 0a 74 72 79 |can be a| bit.try|
|00000e70| 69 6e 67 20 66 6f 72 20 | 74 68 65 20 6e 65 77 20 |ing for |the new |
|00000e80| 75 73 65 72 20 61 6e 64 | 20 49 20 61 6d 20 77 6f |user and| I am wo|
|00000e90| 72 6b 69 6e 67 20 6f 6e | 20 61 6e 20 65 61 73 69 |rking on| an easi|
|00000ea0| 65 72 20 69 6e 73 74 61 | 6c 6c 2e 0a 0a 46 65 65 |er insta|ll...Fee|
|00000eb0| 64 62 61 63 6b 20 69 73 | 20 77 65 6c 63 6f 6d 65 |dback is| welcome|
|00000ec0| 20 61 6e 64 20 73 75 67 | 67 65 73 74 69 6f 6e 73 | and sug|gestions|
|00000ed0| 20 61 72 65 20 67 72 65 | 65 74 65 64 20 77 69 74 | are gre|eted wit|
|00000ee0| 68 20 6f 70 65 6e 20 65 | 79 65 73 20 61 6e 64 20 |h open e|yes and |
|00000ef0| 6d 69 6e 64 2e 0a 0a 65 | 6d 6d 65 74 74 73 40 73 |mind...e|mmetts@s|
|00000f00| 71 75 65 61 6b 79 2e 66 | 72 65 65 2e 6f 72 67 0a |queaky.f|ree.org.|
|00000f10| 0a 45 6d 6d 65 74 74 20 | 53 61 75 65 72 0a 4c 69 |.Emmett |Sauer.Li|
|00000f20| 6e 75 78 20 42 75 73 69 | 6e 65 73 73 20 53 79 73 |nux Busi|ness Sys|
|00000f30| 74 65 6d 73 0a 50 2e 4f | 2e 20 42 6f 78 20 32 36 |tems.P.O|. Box 26|
|00000f40| 36 0a 50 61 72 69 73 2c | 20 54 6e 20 33 38 32 34 |6.Paris,| Tn 3824|
|00000f50| 32 0a 0a 42 42 53 20 28 | 39 30 31 29 20 36 34 34 |2..BBS (|901) 644|
|00000f60| 2d 39 34 37 36 0a 0a 0a | 00 00 00 00 00 00 00 00 |-9476...|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 52 45 41 44 4d 45 2e 64 | 66 63 6b 00 00 00 00 00 |README.d|fck.....|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00001070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00001080| 20 20 20 20 32 36 34 20 | 20 35 37 35 37 35 33 33 | 264 | 5757533|
|00001090| 31 35 34 20 20 31 30 37 | 32 33 00 20 30 00 00 00 |154 107|23. 0...|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 54 68 69 73 20 73 63 72 | 69 70 74 20 28 64 66 63 |This scr|ipt (dfc|
|00001210| 6b 29 20 61 6c 6c 6f 77 | 73 20 79 6f 75 20 74 6f |k) allow|s you to|
|00001220| 20 6b 65 65 70 20 74 72 | 61 63 6b 20 65 61 73 69 | keep tr|ack easi|
|00001230| 6c 79 20 6f 66 20 64 69 | 73 6b 20 75 73 61 67 65 |ly of di|sk usage|
|00001240| 2e 0a 0a 4f 6e 6c 79 20 | 6f 6e 65 20 76 61 72 69 |...Only |one vari|
|00001250| 61 62 6c 65 20 74 6f 20 | 62 65 20 63 68 61 6e 67 |able to |be chang|
|00001260| 65 64 3a 20 4d 41 58 50 | 45 52 43 45 4e 54 2e 20 |ed: MAXP|ERCENT. |
|00001270| 54 68 65 20 70 65 72 63 | 65 6e 74 61 67 65 20 79 |The perc|entage y|
|00001280| 6f 75 20 77 69 73 68 20 | 0a 74 6f 20 62 65 20 74 |ou wish |.to be t|
|00001290| 6f 6c 64 20 6f 66 20 73 | 70 61 63 65 20 75 73 65 |old of s|pace use|
|000012a0| 64 2e 0a 0a 0a 45 6d 6d | 65 74 74 20 53 61 75 65 |d....Emm|ett Saue|
|000012b0| 72 0a 0a 0a 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 52 45 41 44 4d 45 2e 64 | 75 63 6b 00 00 00 00 00 |README.d|uck.....|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00001470| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00001480| 20 20 20 20 31 35 33 20 | 20 35 37 35 37 35 33 34 | 153 | 5757534|
|00001490| 35 34 30 20 20 31 30 37 | 33 37 00 20 30 00 00 00 |540 107|37. 0...|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 44 55 43 4b 20 61 6c 6c | 6f 77 73 20 79 6f 75 20 |DUCK all|ows you |
|00001610| 74 6f 20 73 65 74 20 70 | 61 72 61 6d 65 74 65 72 |to set p|arameter|
|00001620| 73 20 74 6f 20 63 68 65 | 63 6b 20 75 73 65 72 20 |s to che|ck user |
|00001630| 64 69 73 6b 73 70 61 63 | 65 2e 20 20 54 68 65 20 |diskspac|e. The |
|00001640| 73 63 72 69 70 74 20 69 | 73 0a 73 65 6c 66 20 65 |script i|s.self e|
|00001650| 78 70 6c 61 69 6e 69 6e | 67 2e 0a 0a 45 6d 6d 65 |xplainin|g...Emme|
|00001660| 74 74 20 53 61 75 65 72 | 0a 0a 0a 00 00 00 00 00 |tt Sauer|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 52 45 41 44 4d 45 2e 6c | 62 75 00 00 00 00 00 00 |README.l|bu......|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00001870| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00001880| 20 20 20 20 33 37 36 20 | 20 35 37 35 37 35 33 34 | 376 | 5757534|
|00001890| 33 36 36 20 20 31 30 36 | 31 30 00 20 30 00 00 00 |366 106|10. 0...|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 54 68 65 20 4c 69 6e 75 | 78 20 42 61 63 6b 75 70 |The Linu|x Backup|
|00001a10| 20 55 74 69 6c 69 74 79 | 20 62 79 20 4a 6f 68 6e | Utility| by John|
|00001a20| 61 74 68 61 6e 20 57 61 | 72 62 75 72 74 6f 6e 2d |athan Wa|rburton-|
|00001a30| 42 72 6f 77 6e 20 69 73 | 20 61 20 67 72 65 61 74 |Brown is| a great|
|00001a40| 20 61 64 64 69 74 69 6f | 6e 0a 74 6f 20 41 64 6d | additio|n.to Adm|
|00001a50| 69 6e 2c 20 74 68 65 20 | 63 68 61 6e 67 65 73 20 |in, the |changes |
|00001a60| 6d 61 64 65 20 74 6f 20 | 69 74 20 77 65 72 65 20 |made to |it were |
|00001a70| 61 6c 6c 20 63 6f 73 6d | 65 74 69 63 20 74 6f 20 |all cosm|etic to |
|00001a80| 67 6f 20 61 6c 6f 6e 67 | 20 77 69 74 68 20 74 68 |go along| with th|
|00001a90| 65 0a 67 65 6e 65 72 61 | 6c 20 73 63 68 65 6d 65 |e.genera|l scheme|
|00001aa0| 20 6f 66 20 41 64 6d 69 | 6e 20 61 70 70 65 61 72 | of Admi|n appear|
|00001ab0| 61 6e 63 65 2e 0a 0a 49 | 20 68 61 76 65 20 65 6e |ance...I| have en|
|00001ac0| 63 6c 6f 73 65 64 20 74 | 68 65 20 6f 72 69 67 69 |closed t|he origi|
|00001ad0| 6e 61 6c 20 61 6e 64 20 | 6d 79 20 6d 6f 64 69 66 |nal and |my modif|
|00001ae0| 69 65 64 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 4c |ied vers|ion of L|
|00001af0| 42 55 2e 0a 0a 65 6d 6d | 65 74 74 0a 0a 0a 00 00 |BU...emm|ett.....|
|00001b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c00| 52 45 41 44 4d 45 2e 6c | 6f 61 64 00 00 00 00 00 |README.l|oad.....|
|00001c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00001c70| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00001c80| 20 20 20 20 34 30 35 20 | 20 35 37 35 37 35 33 32 | 405 | 5757532|
|00001c90| 36 35 31 20 20 31 30 37 | 33 31 00 20 30 00 00 00 |651 107|31. 0...|
|00001ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d00| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00001d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d20| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 54 68 69 73 20 73 63 72 | 69 70 74 20 67 69 76 65 |This scr|ipt give|
|00001e10| 73 20 79 6f 75 20 61 6e | 64 20 79 6f 75 72 20 75 |s you an|d your u|
|00001e20| 73 65 72 73 20 61 20 77 | 61 79 20 6f 66 20 63 68 |sers a w|ay of ch|
|00001e30| 65 63 6b 69 6e 67 20 61 | 6e 64 20 6c 65 74 74 69 |ecking a|nd letti|
|00001e40| 6e 67 20 69 74 0a 69 6e | 74 65 72 70 72 65 74 20 |ng it.in|terpret |
|00001e50| 74 68 65 20 73 74 61 74 | 73 20 77 68 65 74 68 65 |the stat|s whethe|
|00001e60| 72 20 6f 72 20 6e 6f 74 | 20 74 68 65 20 73 79 73 |r or not| the sys|
|00001e70| 74 65 6d 20 6c 6f 61 64 | 20 63 61 6e 20 62 65 73 |tem load| can bes|
|00001e80| 74 20 62 65 20 73 75 69 | 74 65 64 0a 66 6f 72 20 |t be sui|ted.for |
|00001e90| 61 20 70 61 72 74 69 63 | 75 6c 61 72 20 6a 6f 62 |a partic|ular job|
|00001ea0| 20 61 74 20 74 68 65 20 | 74 69 6d 65 20 69 74 20 | at the |time it |
|00001eb0| 69 73 20 72 61 6e 2e 0a | 0a 4e 6f 20 73 65 74 75 |is ran..|.No setu|
|00001ec0| 70 73 20 2d 20 75 6e 6c | 65 73 73 20 79 6f 75 20 |ps - unl|ess you |
|00001ed0| 77 69 73 68 20 74 6f 20 | 63 68 61 6e 67 65 20 73 |wish to |change s|
|00001ee0| 6f 6d 65 20 6f 66 20 74 | 68 65 20 6d 65 73 73 61 |ome of t|he messa|
|00001ef0| 67 65 73 2e 0a 0a 45 6d | 6d 65 74 74 20 53 61 75 |ges...Em|mett Sau|
|00001f00| 65 72 0a 0a 0a 00 00 00 | 00 00 00 00 00 00 00 00 |er......|........|
|00001f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 52 45 41 44 4d 45 2e 6c | 6f 67 69 6e 00 00 00 00 |README.l|ogin....|
|00002010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00002070| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00002080| 20 20 20 31 31 31 37 20 | 20 35 37 35 37 35 33 31 | 1117 | 5757531|
|00002090| 37 30 33 20 20 31 31 31 | 34 30 00 20 30 00 00 00 |703 111|40. 0...|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 54 68 69 73 20 72 6f 75 | 74 69 6e 65 20 61 64 64 |This rou|tine add|
|00002210| 73 20 73 6f 6d 65 20 68 | 65 6c 70 20 69 6e 20 74 |s some h|elp in t|
|00002220| 72 61 63 6b 69 6e 67 20 | 75 73 65 72 73 2e 20 20 |racking |users. |
|00002230| 0a 0a 41 64 64 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |..Add th|e follow|
|00002240| 69 6e 67 20 74 6f 20 79 | 6f 75 72 20 2f 65 74 63 |ing to y|our /etc|
|00002250| 2f 70 72 6f 66 69 6c 65 | 3a 0a 0a 2d 2d 2d 42 45 |/profile|:..---BE|
|00002260| 47 49 4e 2d 2d 2d 0a 23 | 20 74 72 61 63 6b 20 6c |GIN---.#| track l|
|00002270| 6f 67 69 6e 0a 55 53 45 | 52 3d 60 77 68 6f 61 6d |ogin.USE|R=`whoam|
|00002280| 69 60 0a 4c 4f 47 4e 41 | 4d 45 3d 60 6c 6f 67 6e |i`.LOGNA|ME=`logn|
|00002290| 61 6d 65 60 0a 54 54 59 | 3d 60 74 74 79 60 0a 65 |ame`.TTY|=`tty`.e|
|000022a0| 78 70 6f 72 74 20 55 53 | 45 52 20 4c 4f 47 4e 41 |xport US|ER LOGNA|
|000022b0| 4d 45 20 54 54 59 0a 65 | 63 68 6f 20 22 4c 4f 47 |ME TTY.e|cho "LOG|
|000022c0| 49 4e 20 2e 24 4c 4f 47 | 4e 41 4d 45 2e 24 54 54 |IN .$LOG|NAME.$TT|
|000022d0| 59 2e 60 64 61 74 65 60 | 22 20 3e 3e 20 2f 75 73 |Y.`date`|" >> /us|
|000022e0| 72 2f 61 64 6d 2f 6c 6f | 67 69 6e 73 0a 74 72 61 |r/adm/lo|gins.tra|
|000022f0| 70 20 31 20 32 20 33 20 | 20 20 23 20 73 69 67 6e |p 1 2 3 | # sign|
|00002300| 61 6c 73 20 61 72 65 20 | 72 65 73 74 6f 72 65 64 |als are |restored|
|00002310| 0a 23 0a 23 20 73 65 74 | 20 74 68 65 20 74 72 61 |.#.# set| the tra|
|00002320| 70 20 66 6f 72 20 6c 6f | 67 6f 75 74 0a 23 0a 74 |p for lo|gout.#.t|
|00002330| 72 61 70 20 22 2f 73 62 | 69 6e 2f 63 68 65 63 6b |rap "/sb|in/check|
|00002340| 6f 75 74 20 24 4c 4f 47 | 4e 41 4d 45 20 24 54 54 |out $LOG|NAME $TT|
|00002350| 59 22 20 30 0a 2d 2d 2d | 45 4e 44 2d 2d 2d 0a 0a |Y" 0.---|END---..|
|00002360| 59 6f 75 20 63 61 6e 20 | 73 65 65 20 61 6c 6c 20 |You can |see all |
|00002370| 69 74 20 64 6f 65 73 20 | 69 73 20 74 6f 20 62 75 |it does |is to bu|
|00002380| 69 6c 64 20 61 20 6e 65 | 77 20 6c 6f 67 66 69 6c |ild a ne|w logfil|
|00002390| 65 20 63 61 6c 6c 65 64 | 20 6c 6f 67 69 6e 73 2c |e called| logins,|
|000023a0| 20 77 72 69 74 65 73 20 | 0a 74 68 65 20 75 73 65 | writes |.the use|
|000023b0| 72 6e 61 6d 65 2c 20 74 | 74 79 20 61 6e 64 20 64 |rname, t|ty and d|
|000023c0| 61 74 65 20 6f 66 20 6c | 6f 67 69 6e 2e 0a 0a 54 |ate of l|ogin...T|
|000023d0| 68 65 6e 20 77 68 65 6e | 20 74 68 65 79 20 65 78 |hen when| they ex|
|000023e0| 69 74 20 69 74 20 63 61 | 6c 6c 73 20 61 20 73 63 |it it ca|lls a sc|
|000023f0| 72 69 70 74 20 63 61 6c | 6c 65 64 20 60 63 68 65 |ript cal|led `che|
|00002400| 63 6b 6f 75 74 60 20 61 | 6e 64 20 77 72 69 74 65 |ckout` a|nd write|
|00002410| 73 20 74 68 65 20 73 61 | 6d 65 0a 69 6e 66 6f 72 |s the sa|me.infor|
|00002420| 6d 61 74 69 6f 6e 20 77 | 69 74 68 20 75 70 64 61 |mation w|ith upda|
|00002430| 74 65 64 20 64 61 74 65 | 2f 74 69 6d 65 2e 0a 0a |ted date|/time...|
|00002440| 45 6d 6d 65 74 74 20 53 | 61 75 65 72 0a 0a 0a 00 |Emmett S|auer....|
|00002450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002600| 52 45 41 44 4d 45 2e 75 | 73 72 64 73 6b 73 70 00 |README.u|srdsksp.|
|00002610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002660| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00002670| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00002680| 20 20 20 20 33 30 33 20 | 20 35 37 35 37 35 33 32 | 303 | 5757532|
|00002690| 32 32 32 20 20 31 31 36 | 35 37 00 20 30 00 00 00 |222 116|57. 0...|
|000026a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00002710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 54 68 69 73 20 6c 69 74 | 74 6c 65 20 73 63 72 69 |This lit|tle scri|
|00002810| 70 74 20 61 6c 6c 6f 77 | 73 20 79 6f 75 20 74 6f |pt allow|s you to|
|00002820| 20 73 65 74 20 63 65 72 | 74 61 69 6e 20 70 61 72 | set cer|tain par|
|00002830| 61 6d 65 74 65 72 73 20 | 74 6f 20 63 68 65 63 6b |ameters |to check|
|00002840| 20 66 6f 72 20 6f 6e 0a | 75 73 65 72 2d 64 69 73 | for on.|user-dis|
|00002850| 6b 2d 73 70 61 63 65 20 | 75 73 65 64 2e 20 20 0a |k-space |used. .|
|00002860| 0a 54 68 65 20 73 63 72 | 69 70 74 20 69 73 20 73 |.The scr|ipt is s|
|00002870| 65 6c 66 20 65 78 70 6c | 61 69 6e 69 6e 67 2c 20 |elf expl|aining, |
|00002880| 6a 75 73 74 20 63 68 61 | 6e 67 65 20 74 68 65 20 |just cha|nge the |
|00002890| 76 61 72 69 61 62 6c 65 | 20 76 61 6c 75 65 73 20 |variable| values |
|000028a0| 74 6f 20 73 75 69 74 0a | 79 6f 75 72 20 74 61 73 |to suit.|your tas|
|000028b0| 74 65 2e 0a 0a 45 6d 6d | 65 74 74 20 53 61 75 65 |te...Emm|ett Saue|
|000028c0| 72 0a 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 61 64 6d 69 6e 00 00 00 | 00 00 00 00 00 00 00 00 |admin...|........|
|00002a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 31 30 30 37 | 35 35 20 00 20 20 20 20 |....1007|55 . |
|00002a70| 20 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 | 0 . | 0 . |
|00002a80| 20 20 36 36 30 31 36 20 | 20 35 37 35 37 35 32 34 | 66016 | 5757524|
|00002a90| 37 31 37 20 20 31 30 32 | 32 37 00 20 30 00 00 00 |717 102|27. 0...|
|00002aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 75 73 74 61 72 20 20 | 00 72 6f 6f 74 00 00 00 |.ustar |.root...|
|00002b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b20| 00 00 00 00 00 00 00 00 | 00 72 6f 6f 74 00 00 00 |........|.root...|
|00002b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 23 21 2f 62 69 6e 2f 73 | 68 0a 23 0a 23 20 43 6f |#!/bin/s|h.#.# Co|
|00002c10| 70 79 72 69 67 68 74 20 | 28 63 29 31 39 39 35 20 |pyright |(c)1995 |
|00002c20| 62 79 20 45 6d 6d 65 74 | 74 20 53 61 75 65 72 20 |by Emmet|t Sauer |
|00002c30| 26 20 4c 69 6e 75 78 20 | 42 75 73 69 6e 65 73 73 |& Linux |Business|
|00002c40| 20 53 79 73 74 65 6d 73 | 0a 23 20 54 68 69 73 20 | Systems|.# This |
|00002c50| 69 73 20 4e 4f 54 20 53 | 68 61 72 65 77 61 72 65 |is NOT S|hareware|
|00002c60| 2e 2e 20 54 68 69 73 20 | 69 73 20 46 72 65 65 77 |.. This |is Freew|
|00002c70| 61 72 65 2e 2e 20 54 68 | 69 73 20 63 61 6e 20 62 |are.. Th|is can b|
|00002c80| 65 20 69 6e 63 6c 75 64 | 65 64 20 77 69 74 68 0a |e includ|ed with.|
|00002c90| 23 20 61 6e 79 20 70 61 | 63 6b 61 67 65 20 61 73 |# any pa|ckage as|
|00002ca0| 20 6c 6f 6e 67 20 61 73 | 20 74 68 65 73 65 20 63 | long as| these c|
|00002cb0| 6f 70 79 72 69 67 68 74 | 20 6e 6f 74 69 63 65 73 |opyright| notices|
|00002cc0| 20 73 74 61 79 20 69 6e | 74 61 63 74 20 77 69 74 | stay in|tact wit|
|00002cd0| 68 20 74 68 65 20 73 6f | 66 74 77 61 72 65 2e 0a |h the so|ftware..|
|00002ce0| 23 0a 23 20 4c 69 6e 75 | 78 20 42 75 73 69 6e 65 |#.# Linu|x Busine|
|00002cf0| 73 73 20 53 79 73 74 65 | 6d 73 20 2d 20 72 65 74 |ss Syste|ms - ret|
|00002d00| 61 69 6e 73 20 61 6c 6c | 20 72 69 67 68 74 73 20 |ains all| rights |
|00002d10| 74 6f 20 74 68 69 73 20 | 73 63 72 69 70 74 20 66 |to this |script f|
|00002d20| 69 6c 65 20 61 6e 64 20 | 61 72 65 20 62 79 20 6e |ile and |are by n|
|00002d30| 6f 0a 23 20 6d 65 61 6e | 73 20 6c 69 61 62 6c 65 |o.# mean|s liable|
|00002d40| 20 66 6f 72 20 61 6e 79 | 20 64 61 6d 61 67 65 73 | for any| damages|
|00002d50| 20 74 68 61 74 20 6d 61 | 79 20 62 65 20 69 6e 63 | that ma|y be inc|
|00002d60| 75 72 72 65 64 20 77 68 | 65 6e 20 75 73 69 6e 67 |urred wh|en using|
|00002d70| 2e 20 20 49 74 20 69 73 | 20 74 68 65 20 0a 23 20 |. It is| the .# |
|00002d80| 75 73 65 72 73 20 72 65 | 73 70 6f 6e 73 69 62 69 |users re|sponsibi|
|00002d90| 6c 74 79 20 74 6f 20 6b | 6e 6f 77 20 74 68 65 20 |lty to k|now the |
|00002da0| 63 6f 6e 73 65 71 75 65 | 6e 63 65 73 20 6f 66 20 |conseque|nces of |
|00002db0| 74 68 65 20 61 63 74 69 | 6f 6e 73 20 6f 66 20 63 |the acti|ons of c|
|00002dc0| 6f 6d 6d 61 6e 64 73 20 | 67 69 76 65 6e 0a 23 20 |ommands |given.# |
|00002dd0| 6f 72 20 70 72 6f 67 72 | 61 6d 73 20 63 61 6c 6c |or progr|ams call|
|00002de0| 65 64 20 77 68 65 6e 20 | 75 73 69 6e 67 20 74 68 |ed when |using th|
|00002df0| 69 73 20 73 6f 66 74 77 | 61 72 65 2e 0a 23 20 0a |is softw|are..# .|
|00002e00| 23 20 4c 69 6e 75 78 20 | 42 75 73 69 6e 65 73 73 |# Linux |Business|
|00002e10| 20 53 79 73 74 65 6d 73 | 20 69 73 20 6e 6f 74 20 | Systems| is not |
|00002e20| 72 65 73 70 6f 6e 73 69 | 62 6c 65 20 66 6f 72 20 |responsi|ble for |
|00002e30| 61 6e 79 20 6f 74 68 65 | 72 20 73 6f 66 74 77 61 |any othe|r softwa|
|00002e40| 72 65 20 74 68 61 74 20 | 6d 61 79 20 75 73 65 64 |re that |may used|
|00002e50| 0a 23 20 69 6e 20 63 6f | 6e 6a 75 6e 63 74 69 6f |.# in co|njunctio|
|00002e60| 6e 20 77 69 74 68 20 74 | 68 65 20 41 64 6d 69 6e |n with t|he Admin|
|00002e70| 20 4d 65 6e 75 2e 20 20 | 57 65 20 6d 61 6b 65 20 | Menu. |We make |
|00002e80| 6e 6f 20 63 6c 61 69 6d | 73 20 61 73 20 74 6f 20 |no claim|s as to |
|00002e90| 74 68 65 20 76 61 6c 69 | 64 69 74 79 20 6f 66 0a |the vali|dity of.|
|00002ea0| 23 20 61 6e 79 20 6f 74 | 68 65 72 20 73 6f 66 74 |# any ot|her soft|
|00002eb0| 77 61 72 65 20 75 73 65 | 64 20 6f 74 68 65 72 20 |ware use|d other |
|00002ec0| 74 68 61 6e 20 69 74 20 | 77 6f 72 6b 73 20 6f 6e |than it |works on|
|00002ed0| 20 6f 75 72 20 6d 61 63 | 68 69 6e 65 73 2e 20 20 | our mac|hines. |
|00002ee0| 0a 23 0a 23 20 49 74 20 | 69 73 20 72 65 71 75 65 |.#.# It |is reque|
|00002ef0| 73 74 65 64 20 74 68 61 | 74 20 69 66 20 79 6f 75 |sted tha|t if you|
|00002f00| 20 6d 61 6b 65 20 61 6e | 79 20 63 68 61 6e 67 65 | make an|y change|
|00002f10| 73 20 74 68 61 74 20 79 | 6f 75 20 66 6f 72 77 61 |s that y|ou forwa|
|00002f20| 72 64 20 74 68 65 20 63 | 68 61 6e 67 65 73 20 74 |rd the c|hanges t|
|00002f30| 6f 20 0a 23 20 75 73 20 | 74 6f 20 62 65 20 63 6f |o .# us |to be co|
|00002f40| 6e 73 69 64 65 72 65 64 | 20 66 6f 72 20 61 6e 6f |nsidered| for ano|
|00002f50| 74 68 65 72 20 72 65 6c | 65 61 73 65 2e 0a 23 0a |ther rel|ease..#.|
|00002f60| 23 20 65 6d 6d 65 74 74 | 73 40 73 71 75 65 61 6b |# emmett|s@squeak|
|00002f70| 79 2e 66 72 65 65 2e 6f | 72 67 0a 23 0a 6c 6f 67 |y.free.o|rg.#.log|
|00002f80| 5f 6e 61 6d 65 3d 60 77 | 68 6f 61 6d 69 60 0a 6c |_name=`w|hoami`.l|
|00002f90| 6f 67 5f 67 72 6f 75 70 | 3d 60 67 72 6f 75 70 73 |og_group|=`groups|
|00002fa0| 60 0a 54 56 45 52 53 49 | 4f 4e 3d 22 4c 69 6e 75 |`.TVERSI|ON="Linu|
|00002fb0| 78 20 42 75 73 69 6e 65 | 73 73 20 53 79 73 74 65 |x Busine|ss Syste|
|00002fc0| 6d 73 20 56 31 2e 32 20 | 20 20 20 20 20 20 20 20 |ms V1.2 | |
|00002fd0| 20 20 20 20 20 20 20 20 | 20 20 20 60 64 61 74 65 | | `date|
|00002fe0| 60 22 0a 54 49 54 4c 45 | 3d 22 60 68 6f 73 74 6e |`".TITLE|="`hostn|
|00002ff0| 61 6d 65 60 2e 60 64 6e | 73 64 6f 6d 61 69 6e 6e |ame`.`dn|sdomainn|
|00003000| 61 6d 65 60 20 41 64 6d | 69 6e 20 4d 65 6e 75 22 |ame` Adm|in Menu"|
|00003010| 0a 45 47 52 4f 55 50 3d | 2f 65 74 63 2f 67 72 6f |.EGROUP=|/etc/gro|
|00003020| 75 70 0a 45 50 57 4f 52 | 44 3d 2f 65 74 63 2f 70 |up.EPWOR|D=/etc/p|
|00003030| 61 73 73 77 64 0a 55 4d | 41 49 4c 3d 2f 76 61 72 |asswd.UM|AIL=/var|
|00003040| 2f 73 70 6f 6f 6c 2f 6d | 61 69 6c 0a 50 57 42 41 |/spool/m|ail.PWBA|
|00003050| 43 4b 3d 2f 76 61 72 2f | 61 64 6d 2f 70 61 73 73 |CK=/var/|adm/pass|
|00003060| 77 64 2e 62 75 2e 24 55 | 49 44 0a 47 52 50 42 41 |wd.bu.$U|ID.GRPBA|
|00003070| 43 4b 3d 2f 76 61 72 2f | 61 64 6d 2f 67 72 6f 75 |CK=/var/|adm/grou|
|00003080| 70 2e 62 75 2e 24 55 49 | 44 0a 0a 23 20 54 68 69 |p.bu.$UI|D..# Thi|
|00003090| 73 20 69 73 20 66 6f 72 | 20 79 6f 75 72 20 70 72 |s is for| your pr|
|000030a0| 65 66 65 72 72 65 64 20 | 65 64 69 74 6f 72 0a 41 |eferred |editor.A|
|000030b0| 45 44 49 54 3d 2f 75 73 | 72 2f 6c 6f 63 61 6c 2f |EDIT=/us|r/local/|
|000030c0| 62 69 6e 2f 74 64 65 0a | 45 44 49 54 4f 52 3d 24 |bin/tde.|EDITOR=$|
|000030d0| 41 45 44 49 54 0a 23 0a | 0a 6d 61 69 6e 28 29 0a |AEDIT.#.|.main().|
|000030e0| 7b 0a 77 68 69 6c 65 20 | 5b 20 30 20 5d 3b 20 64 |{.while |[ 0 ]; d|
|000030f0| 6f 0a 0a 09 64 69 61 6c | 6f 67 20 2d 2d 74 69 74 |o...dial|og --tit|
|00003100| 6c 65 20 22 20 24 54 49 | 54 4c 45 20 22 20 5c 0a |le " $TI|TLE " \.|
|00003110| 09 2d 2d 62 61 63 6b 74 | 69 74 6c 65 20 22 20 24 |.--backt|itle " $|
|00003120| 54 56 45 52 53 49 4f 4e | 22 20 5c 0a 09 2d 2d 6d |TVERSION|" \..--m|
|00003130| 65 6e 75 20 22 4d 41 49 | 4e 22 20 31 35 20 35 30 |enu "MAI|N" 15 50|
|00003140| 20 38 20 5c 0a 09 22 31 | 22 20 22 53 65 63 75 72 | 8 \.."1|" "Secur|
|00003150| 69 74 79 20 22 20 5c 0a | 09 22 32 22 20 22 53 79 |ity " \.|."2" "Sy|
|00003160| 73 74 65 6d 20 41 63 63 | 6f 75 6e 74 69 6e 67 20 |stem Acc|ounting |
|00003170| 22 20 5c 0a 09 22 33 22 | 20 22 4e 65 74 77 6f 72 |" \.."3"| "Networ|
|00003180| 6b 20 22 20 5c 0a 09 22 | 34 22 20 22 4e 65 77 73 |k " \.."|4" "News|
|00003190| 20 26 20 4d 61 69 6c 20 | 22 20 5c 0a 09 22 35 22 | & Mail |" \.."5"|
|000031a0| 20 22 50 72 69 6e 74 65 | 72 20 22 20 5c 0a 09 22 | "Printe|r " \.."|
|000031b0| 36 22 20 22 53 79 73 74 | 65 6d 20 4d 61 69 6e 74 |6" "Syst|em Maint|
|000031c0| 61 69 6e 61 6e 63 65 22 | 20 5c 0a 09 22 37 22 20 |ainance"| \.."7" |
|000031d0| 22 55 74 69 6c 69 74 69 | 65 73 22 20 5c 0a 09 22 |"Utiliti|es" \.."|
|000031e0| 38 22 20 22 51 55 49 54 | 22 20 32 3e 20 2f 74 6d |8" "QUIT|" 2> /tm|
|000031f0| 70 2f 6d 63 68 2e 74 6d | 70 2e 24 24 0a 09 69 66 |p/mch.tm|p.$$..if|
|00003200| 20 5b 20 24 3f 20 3d 20 | 31 20 2d 6f 20 24 3f 20 | [ $? = |1 -o $? |
|00003210| 3d 20 32 35 35 20 5d 3b | 20 74 68 65 6e 0a 09 09 |= 255 ];| then...|
|00003220| 2f 62 69 6e 2f 72 6d 20 | 2d 66 20 2f 74 6d 70 2f |/bin/rm |-f /tmp/|
|00003230| 74 6d 70 6d 73 67 20 2f | 74 6d 70 2f 6d 63 68 2e |tmpmsg /|tmp/mch.|
|00003240| 74 6d 70 2e 24 24 0a 09 | 09 65 78 69 74 0a 09 66 |tmp.$$..|.exit..f|
|00003250| 69 0a 09 63 68 6f 69 63 | 65 3d 60 63 61 74 20 2f |i..choic|e=`cat /|
|00003260| 74 6d 70 2f 6d 63 68 2e | 74 6d 70 2e 24 24 60 0a |tmp/mch.|tmp.$$`.|
|00003270| 09 2f 62 69 6e 2f 72 6d | 20 2d 66 20 2f 74 6d 70 |./bin/rm| -f /tmp|
|00003280| 2f 6d 63 68 2e 74 6d 70 | 2e 24 24 0a 09 69 66 20 |/mch.tmp|.$$..if |
|00003290| 5b 20 22 24 63 68 6f 69 | 63 65 22 20 3d 20 22 31 |[ "$choi|ce" = "1|
|000032a0| 22 20 5d 3b 20 74 68 65 | 6e 0a 09 73 65 63 6d 61 |" ]; the|n..secma|
|000032b0| 69 6e 0a 09 66 69 0a 09 | 69 66 20 5b 20 22 24 63 |in..fi..|if [ "$c|
|000032c0| 68 6f 69 63 65 22 20 3d | 20 22 32 22 20 5d 3b 20 |hoice" =| "2" ]; |
|000032d0| 74 68 65 6e 0a 20 20 20 | 20 20 20 20 20 61 63 63 |then. | acc|
|000032e0| 74 6d 61 69 6e 0a 20 20 | 20 20 20 20 20 20 66 69 |tmain. | fi|
|000032f0| 0a 09 69 66 20 5b 20 22 | 24 63 68 6f 69 63 65 22 |..if [ "|$choice"|
|00003300| 20 3d 20 22 33 22 20 5d | 3b 20 74 68 65 6e 0a 09 | = "3" ]|; then..|
|00003310| 6e 6d 65 6e 75 0a 09 66 | 69 0a 09 69 66 20 5b 20 |nmenu..f|i..if [ |
|00003320| 22 24 63 68 6f 69 63 65 | 22 20 3d 20 22 34 22 20 |"$choice|" = "4" |
|00003330| 5d 3b 20 74 68 65 6e 0a | 09 6e 6d 6d 65 6e 75 0a |]; then.|.nmmenu.|
|00003340| 09 66 69 0a 09 69 66 20 | 5b 20 22 24 63 68 6f 69 |.fi..if |[ "$choi|
|00003350| 63 65 22 20 3d 20 22 35 | 22 20 5d 3b 20 74 68 65 |ce" = "5|" ]; the|
|00003360| 6e 0a 09 70 72 6e 74 2d | 6d 67 6d 74 0a 09 66 69 |n..prnt-|mgmt..fi|
|00003370| 0a 09 69 66 20 5b 20 22 | 24 63 68 6f 69 63 65 22 |..if [ "|$choice"|
|00003380| 20 3d 20 22 36 22 20 5d | 3b 20 74 68 65 6e 0a 20 | = "6" ]|; then. |
|00003390| 20 20 20 20 20 20 20 73 | 6d 61 69 6e 0a 20 20 20 | s|main. |
|000033a0| 20 20 20 20 20 66 69 0a | 09 69 66 20 5b 20 22 24 | fi.|.if [ "$|
|000033b0| 63 68 6f 69 63 65 22 20 | 3d 20 22 37 22 20 5d 3b |choice" |= "7" ];|
|000033c0| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 75 74 | then. | ut|
|000033d0| 69 6c 73 0a 20 20 20 20 | 20 20 20 20 66 69 0a 09 |ils. | fi..|
|000033e0| 69 66 20 5b 20 22 24 63 | 68 6f 69 63 65 22 20 3d |if [ "$c|hoice" =|
|000033f0| 20 22 38 22 20 5d 3b 20 | 74 68 65 6e 0a 20 20 20 | "8" ]; |then. |
|00003400| 20 20 20 20 20 6c 65 61 | 76 65 0a 20 20 20 20 20 | lea|ve. |
|00003410| 20 20 20 66 69 0a 64 6f | 6e 65 0a 7d 0a 0a 73 65 | fi.do|ne.}..se|
|00003420| 63 6d 61 69 6e 28 29 0a | 7b 0a 77 68 69 6c 65 20 |cmain().|{.while |
|00003430| 5b 20 30 20 5d 3b 20 64 | 6f 0a 20 20 20 20 20 20 |[ 0 ]; d|o. |
|00003440| 20 20 64 69 61 6c 6f 67 | 20 2d 2d 74 69 74 6c 65 | dialog| --title|
|00003450| 20 22 20 24 54 49 54 4c | 45 22 20 5c 0a 20 20 20 | " $TITL|E" \. |
|00003460| 20 20 20 20 20 2d 2d 62 | 61 63 6b 74 69 74 6c 65 | --b|acktitle|
|00003470| 20 22 20 24 54 56 45 52 | 53 49 4f 4e 22 20 5c 0a | " $TVER|SION" \.|
|00003480| 20 20 20 20 20 20 20 20 | 2d 2d 6d 65 6e 75 20 22 | |--menu "|
|00003490| 55 73 65 72 20 4d 65 6e | 75 22 20 31 35 20 35 30 |User Men|u" 15 50|
|000034a0| 20 36 20 5c 0a 20 20 20 | 20 20 20 20 20 22 31 22 | 6 \. | "1"|
|000034b0| 20 22 55 73 65 72 20 4d | 65 6e 75 22 20 5c 0a 20 | "User M|enu" \. |
|000034c0| 20 20 20 20 20 20 20 22 | 32 22 20 22 47 72 6f 75 | "|2" "Grou|
|000034d0| 70 20 4d 65 6e 75 22 20 | 5c 0a 20 20 20 20 20 20 |p Menu" |\. |
|000034e0| 20 20 22 33 22 20 22 55 | 73 65 72 73 20 6f 6e 20 | "3" "U|sers on |
|000034f0| 60 68 6f 73 74 6e 61 6d | 65 60 22 20 5c 0a 20 09 |`hostnam|e`" \. .|
|00003500| 22 34 22 20 22 4c 61 73 | 74 20 31 35 20 53 79 73 |"4" "Las|t 15 Sys|
|00003510| 74 65 6d 20 55 73 65 72 | 73 22 20 5c 0a 09 22 35 |tem User|s" \.."5|
|00003520| 22 20 22 4c 6f 67 69 6e | 2d 4c 6f 67 6f 75 74 20 |" "Login|-Logout |
|00003530| 4c 4f 47 22 20 5c 0a 20 | 20 20 20 20 20 20 20 22 |LOG" \. | "|
|00003540| 36 22 20 22 51 55 49 54 | 20 74 6f 20 4d 61 69 6e |6" "QUIT| to Main|
|00003550| 20 4d 65 6e 75 22 20 32 | 3e 20 2f 74 6d 70 2f 75 | Menu" 2|> /tmp/u|
|00003560| 63 68 2e 74 6d 70 2e 24 | 24 0a 20 20 20 20 20 20 |ch.tmp.$|$. |
|00003570| 20 20 69 66 20 5b 20 24 | 3f 20 3d 20 31 20 2d 6f | if [ $|? = 1 -o|
|00003580| 20 24 3f 20 3d 20 32 35 | 35 20 5d 3b 20 74 68 65 | $? = 25|5 ]; the|
|00003590| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|000035a0| 20 20 2f 62 69 6e 2f 72 | 6d 20 2d 66 20 2f 74 6d | /bin/r|m -f /tm|
|000035b0| 70 2f 74 6d 70 6d 73 67 | 20 2f 74 6d 70 2f 75 63 |p/tmpmsg| /tmp/uc|
|000035c0| 68 2e 74 6d 70 2e 24 24 | 0a 20 20 20 20 20 20 20 |h.tmp.$$|. |
|000035d0| 20 20 20 20 20 20 20 20 | 20 65 78 69 74 0a 20 20 | | exit. |
|000035e0| 20 20 20 20 20 20 66 69 | 0a 20 20 20 20 20 20 20 | fi|. |
|000035f0| 20 75 63 68 6f 69 63 65 | 3d 60 63 61 74 20 2f 74 | uchoice|=`cat /t|
|00003600| 6d 70 2f 75 63 68 2e 74 | 6d 70 2e 24 24 60 0a 20 |mp/uch.t|mp.$$`. |
|00003610| 20 20 20 20 20 20 20 2f | 62 69 6e 2f 72 6d 20 2d | /|bin/rm -|
|00003620| 66 20 2f 74 6d 70 2f 75 | 63 68 2e 74 6d 70 2e 24 |f /tmp/u|ch.tmp.$|
|00003630| 24 0a 20 20 20 20 20 20 | 20 20 69 66 20 5b 20 22 |$. | if [ "|
|00003640| 24 75 63 68 6f 69 63 65 | 22 20 3d 20 22 31 22 20 |$uchoice|" = "1" |
|00003650| 5d 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 20 20 |]; then.| |
|00003660| 75 6d 61 69 6e 0a 09 66 | 69 0a 09 69 66 20 5b 20 |umain..f|i..if [ |
|00003670| 22 24 75 63 68 6f 69 63 | 65 22 20 3d 20 22 32 22 |"$uchoic|e" = "2"|
|00003680| 20 5d 3b 20 74 68 65 6e | 0a 09 67 6d 61 69 6e 0a | ]; then|..gmain.|
|00003690| 09 66 69 0a 09 69 66 20 | 5b 20 22 24 75 63 68 6f |.fi..if |[ "$ucho|
|000036a0| 69 63 65 22 20 3d 20 22 | 33 22 20 5d 3b 20 74 68 |ice" = "|3" ]; th|
|000036b0| 65 6e 0a 09 75 73 65 72 | 73 20 3e 20 2f 74 6d 70 |en..user|s > /tmp|
|000036c0| 2f 75 73 65 72 73 2e 74 | 6d 70 2e 24 24 0a 20 20 |/users.t|mp.$$. |
|000036d0| 20 20 20 20 20 20 64 69 | 61 6c 6f 67 20 2d 2d 74 | di|alog --t|
|000036e0| 69 74 6c 65 20 22 53 79 | 73 74 65 6d 20 55 73 65 |itle "Sy|stem Use|
|000036f0| 72 73 22 20 5c 0a 20 20 | 20 20 20 20 20 20 2d 2d |rs" \. | --|
|00003700| 62 61 63 6b 74 69 74 6c | 65 20 22 20 24 54 56 45 |backtitl|e " $TVE|
|00003710| 52 53 49 4f 4e 22 20 5c | 0a 20 20 20 20 20 20 20 |RSION" \|. |
|00003720| 20 2d 2d 74 65 78 74 62 | 6f 78 20 2f 74 6d 70 2f | --textb|ox /tmp/|
|00003730| 75 73 65 72 73 2e 74 6d | 70 2e 24 24 20 31 35 20 |users.tm|p.$$ 15 |
|00003740| 37 36 0a 20 20 20 20 20 | 20 20 20 2f 62 69 6e 2f |76. | /bin/|
|00003750| 72 6d 20 2d 66 20 2f 74 | 6d 70 2f 75 73 65 72 73 |rm -f /t|mp/users|
|00003760| 2e 74 6d 70 2e 24 24 0a | 20 20 20 20 20 20 20 20 |.tmp.$$.| |
|00003770| 66 69 0a 09 69 66 20 5b | 20 22 24 75 63 68 6f 69 |fi..if [| "$uchoi|
|00003780| 63 65 22 20 3d 20 22 34 | 22 20 5d 3b 20 74 68 65 |ce" = "4|" ]; the|
|00003790| 6e 0a 20 20 20 20 20 20 | 20 20 6c 61 73 74 20 2d |n. | last -|
|000037a0| 31 35 20 3e 20 2f 74 6d | 70 2f 75 73 65 72 73 31 |15 > /tm|p/users1|
|000037b0| 35 2e 74 6d 70 2e 24 24 | 0a 20 20 20 20 20 20 20 |5.tmp.$$|. |
|000037c0| 20 64 69 61 6c 6f 67 20 | 2d 2d 74 69 74 6c 65 20 | dialog |--title |
|000037d0| 22 4c 61 73 74 20 31 35 | 20 53 79 73 74 65 6d 20 |"Last 15| System |
|000037e0| 55 73 65 72 73 22 20 5c | 0a 20 20 20 20 20 20 20 |Users" \|. |
|000037f0| 20 2d 2d 62 61 63 6b 74 | 69 74 6c 65 20 22 20 24 | --backt|itle " $|
|00003800| 54 56 45 52 53 49 4f 4e | 22 20 5c 0a 20 20 20 20 |TVERSION|" \. |
|00003810| 20 20 20 20 2d 2d 74 65 | 78 74 62 6f 78 20 2f 74 | --te|xtbox /t|
|00003820| 6d 70 2f 75 73 65 72 73 | 31 35 2e 74 6d 70 2e 24 |mp/users|15.tmp.$|
|00003830| 24 20 31 35 20 37 36 0a | 20 20 20 20 20 20 20 20 |$ 15 76.| |
|00003840| 2f 62 69 6e 2f 72 6d 20 | 2d 66 20 2f 74 6d 70 2f |/bin/rm |-f /tmp/|
|00003850| 75 73 65 72 73 31 35 2e | 74 6d 70 2e 24 24 0a 20 |users15.|tmp.$$. |
|00003860| 20 20 20 20 20 20 20 66 | 69 0a 09 69 66 20 5b 20 | f|i..if [ |
|00003870| 22 24 75 63 68 6f 69 63 | 65 22 20 3d 20 22 35 22 |"$uchoic|e" = "5"|
|00003880| 20 5d 3b 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 | ]; then|. |
|00003890| 20 2f 73 62 69 6e 2f 6c | 6f 67 69 6e 2e 69 6e 66 | /sbin/l|ogin.inf|
|000038a0| 6f 20 3e 20 2f 74 6d 70 | 2f 6c 75 73 65 72 73 2e |o > /tmp|/lusers.|
|000038b0| 74 6d 70 2e 24 24 0a 20 | 20 20 20 20 20 20 20 64 |tmp.$$. | d|
|000038c0| 69 61 6c 6f 67 20 2d 2d | 74 69 74 6c 65 20 22 53 |ialog --|title "S|
|000038d0| 79 73 74 65 6d 20 55 73 | 65 72 73 22 20 5c 0a 20 |ystem Us|ers" \. |
|000038e0| 20 20 20 20 20 20 20 2d | 2d 62 61 63 6b 74 69 74 | -|-backtit|
|000038f0| 6c 65 20 22 20 24 54 56 | 45 52 53 49 4f 4e 22 20 |le " $TV|ERSION" |
|00003900| 5c 0a 20 20 20 20 20 20 | 20 20 2d 2d 74 65 78 74 |\. | --text|
|00003910| 62 6f 78 20 2f 74 6d 70 | 2f 6c 75 73 65 72 73 2e |box /tmp|/lusers.|
|00003920| 74 6d 70 2e 24 24 20 31 | 35 20 37 36 0a 20 20 20 |tmp.$$ 1|5 76. |
|00003930| 20 20 20 20 20 2f 62 69 | 6e 2f 72 6d 20 2d 66 20 | /bi|n/rm -f |
|00003940| 2f 74 6d 70 2f 6c 75 73 | 65 72 73 2e 74 6d 70 2e |/tmp/lus|ers.tmp.|
|00003950| 24 24 0a 20 20 20 20 20 | 20 20 20 66 69 0a 09 69 |$$. | fi..i|
|00003960| 66 20 5b 20 22 24 75 63 | 68 6f 69 63 65 22 20 3d |f [ "$uc|hoice" =|
|00003970| 20 22 36 22 20 5d 3b 20 | 74 68 65 6e 0a 09 6d 61 | "6" ]; |then..ma|
|00003980| 69 6e 0a 09 66 69 0a 64 | 6f 6e 65 0a 7d 0a 61 63 |in..fi.d|one.}.ac|
|00003990| 63 74 6d 61 69 6e 28 29 | 0a 7b 0a 77 68 69 6c 65 |ctmain()|.{.while|
|000039a0| 20 5b 20 30 20 5d 3b 20 | 64 6f 0a 20 20 20 20 20 | [ 0 ]; |do. |
|000039b0| 20 20 20 64 69 61 6c 6f | 67 20 2d 2d 74 69 74 6c | dialo|g --titl|
|000039c0| 65 20 22 20 24 54 49 54 | 4c 45 22 20 5c 0a 20 20 |e " $TIT|LE" \. |
|000039d0| 20 20 20 20 20 20 2d 2d | 62 61 63 6b 74 69 74 6c | --|backtitl|
|000039e0| 65 20 22 20 24 54 56 45 | 52 53 49 4f 4e 22 20 5c |e " $TVE|RSION" \|
|000039f0| 0a 20 20 20 20 20 20 20 | 20 2d 2d 6d 65 6e 75 20 |. | --menu |
|00003a00| 22 53 79 73 74 65 6d 20 | 41 63 63 6f 75 6e 74 69 |"System |Accounti|
|00003a10| 6e 67 20 22 20 31 32 20 | 35 30 20 36 20 5c 0a 20 |ng " 12 |50 6 \. |
|00003a20| 20 20 20 20 20 20 20 22 | 31 22 20 22 55 73 65 72 | "|1" "User|
|00003a30| 20 51 75 6f 74 61 73 22 | 20 5c 0a 20 20 20 20 20 | Quotas"| \. |
|00003a40| 20 20 20 22 32 22 20 22 | 47 72 6f 75 70 20 51 75 | "2" "|Group Qu|
|00003a50| 6f 74 61 73 22 20 5c 0a | 20 20 20 20 20 20 20 20 |otas" \.| |
|00003a60| 22 33 22 20 22 45 64 69 | 74 20 41 20 55 73 65 72 |"3" "Edi|t A User|
|00003a70| 20 51 75 6f 74 61 73 22 | 20 5c 0a 09 22 34 22 20 | Quotas"| \.."4" |
|00003a80| 22 45 64 69 74 20 47 72 | 6f 75 70 73 20 55 73 65 |"Edit Gr|oups Use|
|00003a90| 72 73 20 51 75 6f 74 61 | 73 22 5c 0a 20 20 20 20 |rs Quota|s"\. |
|00003aa0| 20 20 20 20 22 35 22 20 | 22 55 73 65 72 20 74 69 | "5" |"User ti|
|00003ab0| 6d 65 20 6f 6e 22 20 5c | 0a 20 20 20 20 20 20 20 |me on" \|. |
|00003ac0| 20 22 36 22 20 22 51 55 | 49 54 20 74 6f 20 4d 61 | "6" "QU|IT to Ma|
|00003ad0| 69 6e 20 4d 65 6e 75 22 | 20 32 3e 20 2f 74 6d 70 |in Menu"| 2> /tmp|
|00003ae0| 2f 75 63 68 2e 74 6d 70 | 2e 24 24 0a 20 20 20 20 |/uch.tmp|.$$. |
|00003af0| 20 20 20 20 69 66 20 5b | 20 24 3f 20 3d 20 31 20 | if [| $? = 1 |
|00003b00| 2d 6f 20 24 3f 20 3d 20 | 32 35 35 20 5d 3b 20 74 |-o $? = |255 ]; t|
|00003b10| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |hen. | |
|00003b20| 20 20 20 20 2f 62 69 6e | 2f 72 6d 20 2d 66 20 2f | /bin|/rm -f /|
|00003b30| 74 6d 70 2f 74 6d 70 6d | 73 67 20 2f 74 6d 70 2f |tmp/tmpm|sg /tmp/|
|00003b40| 75 63 68 2e 74 6d 70 2e | 24 24 0a 20 20 20 20 20 |uch.tmp.|$$. |
|00003b50| 20 20 20 20 20 20 20 20 | 20 20 20 65 78 69 74 0a | | exit.|
|00003b60| 20 20 20 20 20 20 20 20 | 66 69 0a 20 20 20 20 20 | |fi. |
|00003b70| 20 20 20 75 63 68 6f 69 | 63 65 3d 60 63 61 74 20 | uchoi|ce=`cat |
|00003b80| 2f 74 6d 70 2f 75 63 68 | 2e 74 6d 70 2e 24 24 60 |/tmp/uch|.tmp.$$`|
|00003b90| 0a 20 20 20 20 20 20 20 | 20 2f 62 69 6e 2f 72 6d |. | /bin/rm|
|00003ba0| 20 2d 66 20 2f 74 6d 70 | 2f 75 63 68 2e 74 6d 70 | -f /tmp|/uch.tmp|
|00003bb0| 2e 24 24 0a 0a 20 20 20 | 20 20 20 20 20 69 66 20 |.$$.. | if |
|00003bc0| 5b 20 22 24 75 63 68 6f | 69 63 65 22 20 3d 20 22 |[ "$ucho|ice" = "|
|00003bd0| 31 22 20 5d 3b 20 74 68 | 65 6e 0a 20 20 20 20 20 |1" ]; th|en. |
|00003be0| 20 20 20 2f 73 62 69 6e | 2f 72 65 70 71 75 6f 74 | /sbin|/repquot|
|00003bf0| 61 20 2d 61 75 20 3e 2f | 74 6d 70 2f 72 65 70 71 |a -au >/|tmp/repq|
|00003c00| 75 6f 74 61 2e 74 6d 70 | 0a 20 20 20 20 20 20 20 |uota.tmp|. |
|00003c10| 20 64 69 61 6c 6f 67 20 | 2d 2d 74 69 74 6c 65 20 | dialog |--title |
|00003c20| 22 55 73 65 72 20 71 75 | 6f 74 61 73 20 6f 6e 20 |"User qu|otas on |
|00003c30| 53 79 73 74 65 6d 22 20 | 5c 0a 20 20 20 20 20 20 |System" |\. |
|00003c40| 20 20 2d 2d 62 61 63 6b | 74 69 74 6c 65 20 22 20 | --back|title " |
|00003c50| 24 54 56 45 52 53 49 4f | 4e 22 20 5c 0a 20 20 20 |$TVERSIO|N" \. |
|00003c60| 20 20 20 20 20 2d 2d 74 | 65 78 74 62 6f 78 20 2f | --t|extbox /|
|00003c70| 74 6d 70 2f 72 65 70 71 | 75 6f 74 61 2e 74 6d 70 |tmp/repq|uota.tmp|
|00003c80| 20 31 35 20 37 36 0a 20 | 20 20 20 20 20 20 20 2f | 15 76. | /|
|00003c90| 62 69 6e 2f 72 6d 20 2d | 66 20 2f 74 6d 70 2f 72 |bin/rm -|f /tmp/r|
|00003ca0| 65 70 71 75 6f 74 61 2e | 74 6d 70 0a 20 20 20 20 |epquota.|tmp. |
|00003cb0| 20 20 20 20 66 69 0a 0a | 20 20 20 20 20 20 20 20 | fi..| |
|00003cc0| 69 66 20 5b 20 22 24 75 | 63 68 6f 69 63 65 22 20 |if [ "$u|choice" |
|00003cd0| 3d 20 22 32 22 20 5d 3b | 20 74 68 65 6e 0a 20 20 |= "2" ];| then. |
|00003ce0| 20 20 20 20 20 20 2f 73 | 62 69 6e 2f 72 65 70 71 | /s|bin/repq|
|00003cf0| 75 6f 74 61 20 2d 61 76 | 67 20 3e 2f 74 6d 70 2f |uota -av|g >/tmp/|
|00003d00| 67 70 71 75 6f 74 61 2e | 74 6d 70 0a 20 20 20 20 |gpquota.|tmp. |
|00003d10| 20 20 20 20 64 69 61 6c | 6f 67 20 2d 2d 74 69 74 | dial|og --tit|
|00003d20| 6c 65 20 22 47 72 6f 75 | 70 20 71 75 6f 74 61 73 |le "Grou|p quotas|
|00003d30| 20 6f 6e 20 53 79 73 74 | 65 6d 22 20 5c 0a 20 20 | on Syst|em" \. |
|00003d40| 20 20 20 20 20 20 2d 2d | 62 61 63 6b 74 69 74 6c | --|backtitl|
|00003d50| 65 20 22 20 24 54 56 45 | 52 53 49 4f 4e 22 20 5c |e " $TVE|RSION" \|
|00003d60| 0a 20 20 20 20 20 20 20 | 20 2d 2d 74 65 78 74 62 |. | --textb|
|00003d70| 6f 78 20 2f 74 6d 70 2f | 67 70 71 75 6f 74 61 2e |ox /tmp/|gpquota.|
|00003d80| 74 6d 70 20 31 35 20 37 | 36 0a 20 20 20 20 20 20 |tmp 15 7|6. |
|00003d90| 20 20 2f 62 69 6e 2f 72 | 6d 20 2d 66 20 2f 74 6d | /bin/r|m -f /tm|
|00003da0| 70 2f 67 70 71 75 6f 74 | 61 2e 74 6d 70 0a 20 20 |p/gpquot|a.tmp. |
|00003db0| 20 20 20 20 20 20 66 69 | 0a 0a 20 20 20 20 20 20 | fi|.. |
|00003dc0| 20 20 69 66 20 5b 20 22 | 24 75 63 68 6f 69 63 65 | if [ "|$uchoice|
|00003dd0| 22 20 3d 20 22 33 22 20 | 5d 3b 20 74 68 65 6e 0a |" = "3" |]; then.|
|00003de0| 09 64 69 61 6c 6f 67 20 | 2d 2d 74 69 74 6c 65 20 |.dialog |--title |
|00003df0| 22 45 64 69 74 20 71 75 | 6f 74 61 73 22 20 5c 0a |"Edit qu|otas" \.|
|00003e00| 20 20 20 20 20 20 20 20 | 2d 2d 62 61 63 6b 74 69 | |--backti|
|00003e10| 74 6c 65 20 22 20 24 54 | 56 45 52 53 49 4f 4e 22 |tle " $T|VERSION"|
|00003e20| 20 5c 0a 20 20 20 20 20 | 20 20 20 2d 2d 69 6e 70 | \. | --inp|
|00003e30| 75 74 62 6f 78 20 22 55 | 73 65 72 20 74 6f 20 45 |utbox "U|ser to E|
|00003e40| 64 69 74 3a 22 20 31 35 | 20 34 36 20 32 3e 20 2f |dit:" 15| 46 2> /|
|00003e50| 74 6d 70 2f 71 75 73 65 | 72 2e 74 6d 70 0a 09 65 |tmp/quse|r.tmp..e|
|00003e60| 64 71 75 6f 74 61 20 2d | 75 20 60 63 61 74 20 2f |dquota -|u `cat /|
|00003e70| 74 6d 70 2f 71 75 73 65 | 72 2e 74 6d 70 60 0a 09 |tmp/quse|r.tmp`..|
|00003e80| 2f 62 69 6e 2f 72 6d 20 | 2d 66 20 2f 74 6d 70 2f |/bin/rm |-f /tmp/|
|00003e90| 71 75 73 65 72 2e 74 6d | 70 20 20 20 20 20 20 0a |quser.tm|p .|
|00003ea0| 09 66 69 0a 0a 20 20 20 | 20 20 20 20 20 69 66 20 |.fi.. | if |
|00003eb0| 5b 20 22 24 75 63 68 6f | 69 63 65 22 20 3d 20 22 |[ "$ucho|ice" = "|
|00003ec0| 34 22 20 5d 3b 20 74 68 | 65 6e 0a 20 20 20 20 20 |4" ]; th|en. |
|00003ed0| 20 20 20 65 64 71 75 6f | 74 61 20 2d 67 20 75 73 | edquo|ta -g us|
|00003ee0| 65 72 73 0a 20 20 20 20 | 20 20 20 20 66 69 09 0a |ers. | fi..|
|00003ef0| 0a 09 69 66 20 5b 20 22 | 24 75 63 68 6f 69 63 65 |..if [ "|$uchoice|
|00003f00| 22 20 3d 20 22 35 22 20 | 5d 3b 20 74 68 65 6e 0a |" = "5" |]; then.|
|00003f10| 09 2f 73 62 69 6e 2f 73 | 61 63 20 2d 64 70 61 20 |./sbin/s|ac -dpa |
|00003f20| 3e 2f 74 6d 70 2f 75 74 | 69 6d 65 2e 74 6d 70 0a |>/tmp/ut|ime.tmp.|
|00003f30| 20 20 20 20 20 20 20 20 | 64 69 61 6c 6f 67 20 2d | |dialog -|
|00003f40| 2d 74 69 74 6c 65 20 22 | 55 73 65 72 73 20 74 69 |-title "|Users ti|
|00003f50| 6d 65 20 6f 6e 20 53 79 | 73 74 65 6d 22 20 5c 0a |me on Sy|stem" \.|
|00003f60| 20 20 20 20 20 20 20 20 | 2d 2d 62 61 63 6b 74 69 | |--backti|
|00003f70| 74 6c 65 20 22 20 24 54 | 56 45 52 53 49 4f 4e 22 |tle " $T|VERSION"|
|00003f80| 20 5c 0a 20 20 20 20 20 | 20 20 20 2d 2d 74 65 78 | \. | --tex|
|00003f90| 74 62 6f 78 20 2f 74 6d | 70 2f 75 74 69 6d 65 2e |tbox /tm|p/utime.|
|00003fa0| 74 6d 70 20 31 35 20 37 | 36 0a 20 20 20 20 20 20 |tmp 15 7|6. |
|00003fb0| 20 20 2f 62 69 6e 2f 72 | 6d 20 2d 66 20 2f 74 6d | /bin/r|m -f /tm|
|00003fc0| 70 2f 75 74 69 6d 65 2e | 74 6d 70 0a 09 66 69 0a |p/utime.|tmp..fi.|
|00003fd0| 0a 20 20 20 20 20 20 20 | 20 69 66 20 5b 20 22 24 |. | if [ "$|
|00003fe0| 75 63 68 6f 69 63 65 22 | 20 3d 20 22 36 22 20 5d |uchoice"| = "6" ]|
|00003ff0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 6d |; then. | m|
|00004000| 61 69 6e 0a 20 20 20 20 | 20 20 20 20 66 69 0a 64 |ain. | fi.d|
|00004010| 6f 6e 65 0a 7d 0a 0a 6e | 6d 6d 65 6e 75 28 29 0a |one.}..n|mmenu().|
|00004020| 7b 0a 77 68 69 6c 65 20 | 5b 20 30 20 5d 3b 20 64 |{.while |[ 0 ]; d|
|00004030| 6f 0a 20 20 20 20 20 20 | 20 20 64 69 61 6c 6f 67 |o. | dialog|
|00004040| 20 2d 2d 74 69 74 6c 65 | 20 22 20 4e 65 77 73 20 | --title| " News |
|00004050| 61 6e 64 20 4d 61 69 6c | 22 20 5c 0a 20 20 20 20 |and Mail|" \. |
|00004060| 20 20 20 20 2d 2d 62 61 | 63 6b 74 69 74 6c 65 20 | --ba|cktitle |
|00004070| 22 20 24 54 56 45 52 53 | 49 4f 4e 22 20 5c 0a 20 |" $TVERS|ION" \. |
|00004080| 20 20 20 20 20 20 20 2d | 2d 6d 73 67 62 6f 78 20 | -|-msgbox |
|00004090| 22 4e 6f 74 20 49 6d 70 | 6c 65 6d 65 6e 74 65 64 |"Not Imp|lemented|
|000040a0| 20 59 65 74 21 22 20 31 | 32 20 35 30 20 0a 09 6d | Yet!" 1|2 50 ..m|
|000040b0| 61 69 6e 0a 64 6f 6e 65 | 0a 7d 20 20 20 20 20 20 |ain.done|.} |
|000040c0| 20 20 0a 20 20 0a 75 6d | 61 69 6e 28 29 0a 7b 0a | . .um|ain().{.|
|000040d0| 77 68 69 6c 65 20 5b 20 | 30 20 5d 3b 20 64 6f 0a |while [ |0 ]; do.|
|000040e0| 20 20 20 20 20 20 20 20 | 64 69 61 6c 6f 67 20 2d | |dialog -|
|000040f0| 2d 74 69 74 6c 65 20 22 | 20 24 54 49 54 4c 45 22 |-title "| $TITLE"|
|00004100| 20 5c 0a 20 20 20 20 20 | 20 20 20 2d 2d 62 61 63 | \. | --bac|
|00004110| 6b 74 69 74 6c 65 20 22 | 20 24 54 56 45 52 53 49 |ktitle "| $TVERSI|
|00004120| 4f 4e 22 20 5c 0a 20 20 | 20 20 20 20 20 20 2d 2d |ON" \. | --|
|00004130| 6d 65 6e 75 20 22 55 73 | 65 72 20 4d 65 6e 75 22 |menu "Us|er Menu"|
|00004140| 20 31 32 20 35 30 20 34 | 20 5c 0a 20 20 20 20 20 | 12 50 4| \. |
|00004150| 20 20 20 22 31 22 20 22 | 4c 69 73 74 20 55 73 65 | "1" "|List Use|
|00004160| 72 73 22 20 5c 0a 20 20 | 20 20 20 20 20 20 22 32 |rs" \. | "2|
|00004170| 22 20 22 41 64 64 20 61 | 20 55 73 65 72 22 20 5c |" "Add a| User" \|
|00004180| 0a 20 20 20 20 20 20 20 | 20 22 33 22 20 22 44 65 |. | "3" "De|
|00004190| 6c 65 74 65 20 61 20 55 | 73 65 72 22 20 5c 0a 20 |lete a U|ser" \. |
|000041a0| 20 20 20 20 20 20 20 22 | 34 22 20 22 51 55 49 54 | "|4" "QUIT|
|000041b0| 20 74 6f 20 53 65 63 75 | 72 69 74 79 20 4d 65 6e | to Secu|rity Men|
|000041c0| 75 22 20 32 3e 20 2f 74 | 6d 70 2f 75 63 68 2e 74 |u" 2> /t|mp/uch.t|
|000041d0| 6d 70 2e 24 24 0a 20 20 | 20 20 20 20 20 20 69 66 |mp.$$. | if|
|000041e0| 20 5b 20 24 3f 20 3d 20 | 31 20 2d 6f 20 24 3f 20 | [ $? = |1 -o $? |
|000041f0| 3d 20 32 35 35 20 5d 3b | 20 74 68 65 6e 0a 20 20 |= 255 ];| then. |
|00004200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 62 | | /b|
|00004210| 69 6e 2f 72 6d 20 2d 66 | 20 2f 74 6d 70 2f 74 6d |in/rm -f| /tmp/tm|
|00004220| 70 6d 73 67 20 2f 74 6d | 70 2f 75 63 68 2e 74 6d |pmsg /tm|p/uch.tm|
|00004230| 70 2e 24 24 0a 20 20 20 | 20 20 20 20 20 20 20 20 |p.$$. | |
|00004240| 20 20 20 20 20 65 78 69 | 74 0a 20 20 20 20 20 20 | exi|t. |
|00004250| 20 20 66 69 0a 09 75 63 | 68 6f 69 63 65 3d 60 63 | fi..uc|hoice=`c|
|00004260| 61 74 20 2f 74 6d 70 2f | 75 63 68 2e 74 6d 70 2e |at /tmp/|uch.tmp.|
|00004270| 24 24 60 0a 20 20 20 20 | 20 20 20 20 2f 62 69 6e |$$`. | /bin|
|00004280| 2f 72 6d 20 2d 66 20 2f | 74 6d 70 2f 75 63 68 2e |/rm -f /|tmp/uch.|
|00004290| 74 6d 70 2e 24 24 0a 20 | 20 20 20 20 20 20 20 69 |tmp.$$. | i|
|000042a0| 66 20 5b 20 22 24 75 63 | 68 6f 69 63 65 22 20 3d |f [ "$uc|hoice" =|
|000042b0| 20 22 31 22 20 5d 3b 20 | 74 68 65 6e 0a 09 63 61 | "1" ]; |then..ca|
|000042c0| 74 20 2f 65 74 63 2f 70 | 61 73 73 77 64 20 3e 20 |t /etc/p|asswd > |
|000042d0| 2f 74 6d 70 2f 74 70 77 | 64 2e 24 24 0a 20 20 20 |/tmp/tpw|d.$$. |
|000042e0| 20 20 20 20 20 64 69 61 | 6c 6f 67 20 2d 2d 74 69 | dia|log --ti|
|000042f0| 74 6c 65 20 22 60 68 6f | 73 74 6e 61 6d 65 60 27 |tle "`ho|stname`'|
|00004300| 73 20 55 73 65 72 73 22 | 20 5c 0a 20 20 20 20 20 |s Users"| \. |
|00004310| 20 20 20 2d 2d 62 61 63 | 6b 74 69 74 6c 65 20 22 | --bac|ktitle "|
|00004320| 20 24 54 56 45 52 53 49 | 4f 4e 22 20 5c 0a 09 2d | $TVERSI|ON" \..-|
|00004330| 2d 74 65 78 74 62 6f 78 | 20 2f 74 6d 70 2f 74 70 |-textbox| /tmp/tp|
|00004340| 77 64 2e 24 24 20 31 35 | 20 37 30 20 0a 09 2f 62 |wd.$$ 15| 70 ../b|
|00004350| 69 6e 2f 72 6d 20 2d 66 | 20 2f 74 6d 70 2f 74 70 |in/rm -f| /tmp/tp|
|00004360| 77 64 2e 24 24 0a 20 20 | 20 20 20 20 20 20 66 69 |wd.$$. | fi|
|00004370| 0a 20 20 20 20 20 20 20 | 20 69 66 20 5b 20 22 24 |. | if [ "$|
|00004380| 75 63 68 6f 69 63 65 22 | 20 3d 20 22 32 22 20 5d |uchoice"| = "2" ]|
|00004390| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 61 |; then. | a|
|000043a0| 64 64 2d 75 73 65 72 0a | 20 20 20 20 20 20 20 20 |dd-user.| |
|000043b0| 66 69 0a 20 20 20 20 20 | 20 20 20 69 66 20 5b 20 |fi. | if [ |
|000043c0| 22 24 75 63 68 6f 69 63 | 65 22 20 3d 20 22 33 22 |"$uchoic|e" = "3"|
|000043d0| 20 5d 3b 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 | ]; then|. |
|000043e0| 20 64 65 6c 2d 75 73 65 | 72 0a 20 20 20 20 20 20 | del-use|r. |
|000043f0| 20 20 66 69 0a 20 20 20 | 20 20 20 20 20 69 66 20 | fi. | if |
|00004400| 5b 20 22 24 75 63 68 6f | 69 63 65 22 20 3d 20 22 |[ "$ucho|ice" = "|
|00004410| 34 22 20 5d 3b 20 74 68 | 65 6e 0a 20 20 20 20 20 |4" ]; th|en. |
|00004420| 20 20 20 73 65 63 6d 61 | 69 6e 0a 20 20 20 20 20 | secma|in. |
|00004430| 20 20 20 66 69 0a 64 6f | 6e 65 0a 7d 0a 0a 67 6d | fi.do|ne.}..gm|
|00004440| 61 69 6e 28 29 0a 7b 0a | 77 68 69 6c 65 20 5b 20 |ain().{.|while [ |
|00004450| 30 20 5d 3b 20 64 6f 0a | 09 64 69 61 6c 6f 67 20 |0 ]; do.|.dialog |
|00004460| 2d 2d 74 69 74 6c 65 20 | 22 20 24 54 49 54 4c 45 |--title |" $TITLE|
|00004470| 22 20 5c 0a 20 20 20 20 | 20 20 20 20 2d 2d 62 61 |" \. | --ba|
|00004480| 63 6b 74 69 74 6c 65 20 | 22 20 24 54 56 45 52 53 |cktitle |" $TVERS|
|00004490| 49 4f 4e 22 20 5c 0a 20 | 20 20 20 20 20 20 20 2d |ION" \. | -|
|000044a0| 2d 6d 65 6e 75 20 22 47 | 72 6f 75 70 20 4d 65 6e |-menu "G|roup Men|
|000044b0| 75 22 20 31 32 20 35 30 | 20 34 20 5c 0a 20 20 20 |u" 12 50| 4 \. |
|000044c0| 20 20 20 20 20 22 31 22 | 20 22 4c 69 73 74 20 47 | "1"| "List G|
|000044d0| 72 6f 75 70 73 22 20 5c | 0a 20 20 20 20 20 20 20 |roups" \|. |
|000044e0| 20 22 32 22 20 22 41 64 | 64 20 61 20 47 72 6f 75 | "2" "Ad|d a Grou|
|000044f0| 70 22 20 5c 0a 20 20 20 | 20 20 20 20 20 22 33 22 |p" \. | "3"|
|00004500| 20 22 44 65 6c 65 74 65 | 20 61 20 47 72 6f 75 70 | "Delete| a Group|
|00004510| 22 20 5c 0a 20 20 20 20 | 20 20 20 20 22 34 22 20 |" \. | "4" |
|00004520| 22 51 55 49 54 20 74 6f | 20 53 65 63 75 72 69 74 |"QUIT to| Securit|
|00004530| 79 20 4d 65 6e 75 22 20 | 32 3e 20 2f 74 6d 70 2f |y Menu" |2> /tmp/|
|00004540| 67 63 68 2e 74 6d 70 2e | 24 24 0a 20 20 20 20 20 |gch.tmp.|$$. |
|00004550| 20 20 20 69 66 20 5b 20 | 24 3f 20 3d 20 31 20 2d | if [ |$? = 1 -|
|00004560| 6f 20 24 3f 20 3d 20 32 | 35 35 20 5d 3b 20 74 68 |o $? = 2|55 ]; th|
|00004570| 65 6e 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |en. | |
|00004580| 20 20 20 2f 62 69 6e 2f | 72 6d 20 2d 66 20 2f 74 | /bin/|rm -f /t|
|00004590| 6d 70 2f 74 6d 70 6d 73 | 67 20 2f 74 6d 70 2f 67 |mp/tmpms|g /tmp/g|
|000045a0| 63 68 2e 74 6d 70 2e 24 | 24 0a 20 20 20 20 20 20 |ch.tmp.$|$. |
|000045b0| 20 20 20 20 20 20 20 20 | 20 20 65 78 69 74 0a 20 | | exit. |
|000045c0| 20 20 20 20 20 20 20 66 | 69 0a 20 20 20 20 20 20 | f|i. |
|000045d0| 20 20 67 63 68 6f 69 63 | 65 3d 60 63 61 74 20 2f | gchoic|e=`cat /|
|000045e0| 74 6d 70 2f 67 63 68 2e | 74 6d 70 2e 24 24 60 0a |tmp/gch.|tmp.$$`.|
|000045f0| 20 20 20 20 20 20 20 20 | 2f 62 69 6e 2f 72 6d 20 | |/bin/rm |
|00004600| 2d 66 20 2f 74 6d 70 2f | 67 63 68 2e 74 6d 70 2e |-f /tmp/|gch.tmp.|
|00004610| 24 24 0a 20 20 20 20 20 | 20 20 20 69 66 20 5b 20 |$$. | if [ |
|00004620| 22 24 67 63 68 6f 69 63 | 65 22 20 3d 20 22 31 22 |"$gchoic|e" = "1"|
|00004630| 20 5d 3b 20 74 68 65 6e | 0a 09 63 61 74 20 2f 65 | ]; then|..cat /e|
|00004640| 74 63 2f 67 72 6f 75 70 | 20 3e 20 2f 74 6d 70 2f |tc/group| > /tmp/|
|00004650| 74 67 72 70 2e 24 24 0a | 09 64 69 61 6c 6f 67 20 |tgrp.$$.|.dialog |
|00004660| 2d 2d 74 69 74 6c 65 20 | 22 60 68 6f 73 74 6e 61 |--title |"`hostna|
|00004670| 6d 65 60 27 73 20 47 72 | 6f 75 70 73 22 20 5c 0a |me`'s Gr|oups" \.|
|00004680| 20 20 20 20 20 20 20 20 | 2d 2d 62 61 63 6b 74 69 | |--backti|
|00004690| 74 6c 65 20 22 20 24 54 | 56 45 52 53 49 4f 4e 22 |tle " $T|VERSION"|
|000046a0| 20 5c 0a 09 2d 2d 74 65 | 78 74 62 6f 78 20 2f 74 | \..--te|xtbox /t|
|000046b0| 6d 70 2f 74 67 72 70 2e | 24 24 20 31 35 20 35 30 |mp/tgrp.|$$ 15 50|
|000046c0| 20 0a 09 2f 62 69 6e 2f | 72 6d 20 2d 66 20 2f 74 | ../bin/|rm -f /t|
|000046d0| 6d 70 2f 74 67 72 70 2e | 24 24 20 20 20 20 20 20 |mp/tgrp.|$$ |
|000046e0| 20 20 0a 20 20 20 20 20 | 20 20 20 66 69 0a 20 20 | . | fi. |
|000046f0| 20 20 20 20 20 20 69 66 | 20 5b 20 22 24 67 63 68 | if| [ "$gch|
|00004700| 6f 69 63 65 22 20 3d 20 | 22 32 22 20 5d 3b 20 74 |oice" = |"2" ]; t|
|00004710| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 61 64 64 2d |hen. | add-|
|00004720| 67 72 70 0a 20 20 20 20 | 20 20 20 20 66 69 0a 09 |grp. | fi..|
|00004730| 69 66 20 5b 20 22 24 67 | 63 68 6f 69 63 65 22 20 |if [ "$g|choice" |
|00004740| 3d 20 22 33 22 20 5d 3b | 20 74 68 65 6e 0a 20 20 |= "3" ];| then. |
|00004750| 20 20 20 20 20 20 64 65 | 6c 2d 67 72 70 0a 20 20 | de|l-grp. |
|00004760| 20 20 20 20 20 20 66 69 | 0a 20 20 20 20 20 20 20 | fi|. |
|00004770| 20 69 66 20 5b 20 22 24 | 67 63 68 6f 69 63 65 22 | if [ "$|gchoice"|
|00004780| 20 3d 20 22 34 22 20 5d | 3b 20 74 68 65 6e 0a 20 | = "4" ]|; then. |
|00004790| 20 20 20 20 20 20 20 73 | 65 63 6d 61 69 6e 0a 20 | s|ecmain. |
|000047a0| 20 20 20 20 20 20 20 66 | 69 0a 64 6f 6e 65 0a 7d | f|i.done.}|
|000047b0| 0a 0a 73 6d 61 69 6e 28 | 29 0a 7b 0a 77 68 69 6c |..smain(|).{.whil|
|000047c0| 65 20 5b 20 30 20 5d 3b | 20 64 6f 0a 0a 20 20 20 |e [ 0 ];| do.. |
|000047d0| 20 20 20 20 20 64 69 61 | 6c 6f 67 20 2d 2d 74 69 | dia|log --ti|
|000047e0| 74 6c 65 20 22 20 24 54 | 49 54 4c 45 22 20 5c 0a |tle " $T|ITLE" \.|
|000047f0| 20 20 20 20 20 20 20 20 | 2d 2d 62 61 63 6b 74 69 | |--backti|
|00004800| 74 6c 65 20 22 20 24 54 | 56 45 52 53 49 4f 4e 22 |tle " $T|VERSION"|
|00004810| 20 5c 0a 20 20 20 20 20 | 20 20 20 2d 2d 6d 65 6e | \. | --men|
|00004820| 75 20 22 53 79 73 74 65 | 6d 20 4d 65 6e 75 22 20 |u "Syste|m Menu" |
|00004830| 31 35 20 34 30 20 38 20 | 5c 0a 20 20 20 20 20 20 |15 40 8 |\. |
|00004840| 20 20 22 31 22 20 22 4d | 65 6d 6f 72 79 20 53 74 | "1" "M|emory St|
|00004850| 61 74 75 73 22 20 5c 0a | 20 20 20 20 20 20 20 20 |atus" \.| |
|00004860| 22 32 22 20 22 46 69 6c | 65 20 53 79 73 74 65 6d |"2" "Fil|e System|
|00004870| 73 20 53 74 61 74 75 73 | 22 20 5c 0a 09 22 33 22 |s Status|" \.."3"|
|00004880| 20 22 53 79 73 74 65 6d | 20 4c 6f 61 64 22 20 5c | "System| Load" \|
|00004890| 0a 20 20 20 20 20 20 20 | 20 22 34 22 20 22 53 79 |. | "4" "Sy|
|000048a0| 73 74 65 6d 20 50 72 6f | 63 20 49 6e 66 6f 22 20 |stem Pro|c Info" |
|000048b0| 5c 0a 09 22 35 22 20 22 | 55 73 65 72 20 53 74 61 |\.."5" "|User Sta|
|000048c0| 74 75 73 22 5c 0a 09 22 | 36 22 20 22 46 69 6c 65 |tus"\.."|6" "File|
|000048d0| 53 79 73 74 65 6d 20 4d | 61 69 6e 74 61 69 6e 61 |System M|aintaina|
|000048e0| 6e 63 65 22 20 5c 0a 09 | 22 37 22 20 22 42 61 63 |nce" \..|"7" "Bac|
|000048f0| 6b 75 70 20 26 20 52 65 | 73 74 6f 72 65 22 20 5c |kup & Re|store" \|
|00004900| 0a 20 20 20 20 20 20 20 | 20 22 38 22 20 22 51 55 |. | "8" "QU|
|00004910| 49 54 20 74 6f 20 4d 61 | 69 6e 20 4d 65 6e 75 22 |IT to Ma|in Menu"|
|00004920| 20 32 3e 20 2f 74 6d 70 | 2f 73 63 68 2e 74 6d 70 | 2> /tmp|/sch.tmp|
|00004930| 2e 24 24 0a 20 20 20 20 | 20 20 20 20 69 66 20 5b |.$$. | if [|
|00004940| 20 24 3f 20 3d 20 31 20 | 2d 6f 20 24 3f 20 3d 20 | $? = 1 |-o $? = |
|00004950| 32 35 35 20 5d 3b 20 74 | 68 65 6e 0a 20 20 20 20 |255 ]; t|hen. |
|00004960| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 62 69 6e | | /bin|
|00004970| 2f 72 6d 20 2d 66 20 2f | 74 6d 70 2f 74 6d 70 6d |/rm -f /|tmp/tmpm|
|00004980| 73 67 20 2f 74 6d 70 2f | 73 63 68 2e 74 6d 70 2e |sg /tmp/|sch.tmp.|
|00004990| 24 24 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |$$. | |
|000049a0| 20 20 20 65 78 69 74 0a | 20 20 20 20 20 20 20 20 | exit.| |
|000049b0| 66 69 0a 20 20 20 20 20 | 20 20 20 73 63 68 6f 69 |fi. | schoi|
|000049c0| 63 65 3d 60 63 61 74 20 | 2f 74 6d 70 2f 73 63 68 |ce=`cat |/tmp/sch|
|000049d0| 2e 74 6d 70 2e 24 24 60 | 0a 20 20 20 20 20 20 20 |.tmp.$$`|. |
|000049e0| 20 2f 62 69 6e 2f 72 6d | 20 2d 66 20 2f 74 6d 70 | /bin/rm| -f /tmp|
|000049f0| 2f 73 63 68 2e 74 6d 70 | 2e 24 24 0a 0a 20 20 20 |/sch.tmp|.$$.. |
|00004a00| 20 20 20 20 20 69 66 20 | 5b 20 22 24 73 63 68 6f | if |[ "$scho|
|00004a10| 69 63 65 22 20 3d 20 22 | 31 22 20 5d 3b 20 74 68 |ice" = "|1" ]; th|
|00004a20| 65 6e 0a 20 20 20 20 20 | 20 20 20 66 72 65 65 20 |en. | free |
|00004a30| 3e 20 2f 74 6d 70 2f 66 | 72 65 65 2e 74 6d 70 2e |> /tmp/f|ree.tmp.|
|00004a40| 24 24 0a 09 64 69 61 6c | 6f 67 20 2d 2d 74 69 74 |$$..dial|og --tit|
|00004a50| 6c 65 20 22 20 4d 65 6d | 6f 72 79 20 53 74 61 74 |le " Mem|ory Stat|
|00004a60| 73 22 20 5c 0a 20 20 20 | 20 20 20 20 20 2d 2d 62 |s" \. | --b|
|00004a70| 61 63 6b 74 69 74 6c 65 | 20 22 20 24 54 56 45 52 |acktitle| " $TVER|
|00004a80| 53 49 4f 4e 22 20 5c 0a | 20 20 20 20 20 20 20 20 |SION" \.| |
|00004a90| 2d 2d 74 65 78 74 62 6f | 78 20 2f 74 6d 70 2f 66 |--textbo|x /tmp/f|
|00004aa0| 72 65 65 2e 74 6d 70 2e | 24 24 20 31 32 20 37 30 |ree.tmp.|$$ 12 70|
|00004ab0| 20 0a 09 2f 62 69 6e 2f | 72 6d 20 2d 66 20 2f 74 | ../bin/|rm -f /t|
|00004ac0| 6d 70 2f 66 72 65 65 2e | 74 6d 70 2e 24 24 0a 20 |mp/free.|tmp.$$. |
|00004ad0| 20 20 20 20 20 20 20 66 | 69 0a 0a 20 20 20 20 20 | f|i.. |
|00004ae0| 20 20 20 69 66 20 5b 20 | 22 24 73 63 68 6f 69 63 | if [ |"$schoic|
|00004af0| 65 22 20 3d 20 22 32 22 | 20 5d 3b 20 74 68 65 6e |e" = "2"| ]; then|
|00004b00| 0a 09 64 66 63 6b 20 3e | 20 2f 74 6d 70 2f 64 66 |..dfck >| /tmp/df|
|00004b10| 2e 24 24 0a 20 20 20 20 | 20 20 20 20 64 69 61 6c |.$$. | dial|
|00004b20| 6f 67 20 2d 2d 74 69 74 | 6c 65 20 22 20 46 69 6c |og --tit|le " Fil|
|00004b30| 65 73 79 73 74 65 6d 20 | 53 74 61 74 73 22 20 5c |esystem |Stats" \|
|00004b40| 0a 20 20 20 20 20 20 20 | 20 2d 2d 62 61 63 6b 74 |. | --backt|
|00004b50| 69 74 6c 65 20 22 20 24 | 54 56 45 52 53 49 4f 4e |itle " $|TVERSION|
|00004b60| 22 20 5c 0a 20 20 20 20 | 20 20 20 20 2d 2d 74 65 |" \. | --te|
|00004b70| 78 74 62 6f 78 20 2f 74 | 6d 70 2f 64 66 2e 24 24 |xtbox /t|mp/df.$$|
|00004b80| 20 31 35 20 37 36 0a 09 | 2f 62 69 6e 2f 72 6d 20 | 15 76..|/bin/rm |
|00004b90| 2d 66 20 2f 74 6d 70 2f | 64 66 2e 24 24 0a 20 20 |-f /tmp/|df.$$. |
|00004ba0| 20 20 20 20 20 20 66 69 | 0a 09 69 66 20 5b 20 22 | fi|..if [ "|
|00004bb0| 24 73 63 68 6f 69 63 65 | 22 20 3d 20 22 33 22 20 |$schoice|" = "3" |
|00004bc0| 5d 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 20 20 |]; then.| |
|00004bd0| 2f 73 62 69 6e 2f 6c 6f | 61 64 20 3e 20 2f 74 6d |/sbin/lo|ad > /tm|
|00004be0| 70 2f 73 79 73 6c 6f 61 | 64 2e 24 24 0a 20 20 20 |p/sysloa|d.$$. |
|00004bf0| 20 20 20 20 20 64 69 61 | 6c 6f 67 20 2d 2d 74 69 | dia|log --ti|
|00004c00| 74 6c 65 20 22 20 53 79 | 73 74 65 6d 20 4c 6f 61 |tle " Sy|stem Loa|
|00004c10| 64 22 20 5c 0a 20 20 20 | 20 20 20 20 20 2d 2d 62 |d" \. | --b|
|00004c20| 61 63 6b 74 69 74 6c 65 | 20 22 20 24 54 56 45 52 |acktitle| " $TVER|
|00004c30| 53 49 4f 4e 22 20 5c 0a | 20 20 20 20 20 20 20 20 |SION" \.| |
|00004c40| 2d 2d 74 65 78 74 62 6f | 78 20 2f 74 6d 70 2f 73 |--textbo|x /tmp/s|
|00004c50| 79 73 6c 6f 61 64 2e 24 | 24 20 31 35 20 34 36 0a |ysload.$|$ 15 46.|
|00004c60| 20 20 20 20 20 20 20 20 | 2f 62 69 6e 2f 72 6d 20 | |/bin/rm |
|00004c70| 2d 66 20 2f 74 6d 70 2f | 73 79 73 6c 6f 61 64 2e |-f /tmp/|sysload.|
|00004c80| 24 24 0a 20 20 20 20 20 | 20 20 20 66 69 0a 0a 09 |$$. | fi...|
|00004c90| 69 66 20 5b 20 22 24 73 | 63 68 6f 69 63 65 22 20 |if [ "$s|choice" |
|00004ca0| 3d 20 22 34 22 20 5d 3b | 20 74 68 65 6e 0a 20 20 |= "4" ];| then. |
|00004cb0| 20 20 20 20 20 20 70 72 | 6f 63 69 6e 66 6f 20 3e | pr|ocinfo >|
|00004cc0| 20 2f 74 6d 70 2f 73 70 | 72 6f 63 2e 74 6d 70 2e | /tmp/sp|roc.tmp.|
|00004cd0| 24 24 0a 20 20 20 20 20 | 20 20 20 64 69 61 6c 6f |$$. | dialo|
|00004ce0| 67 20 2d 2d 74 69 74 6c | 65 20 22 53 79 73 74 65 |g --titl|e "Syste|
|00004cf0| 6d 20 50 72 6f 63 65 73 | 73 65 73 20 49 6e 66 6f |m Proces|ses Info|
|00004d00| 72 6d 61 74 69 6f 6e 22 | 20 5c 0a 20 20 20 20 20 |rmation"| \. |
|00004d10| 20 20 20 2d 2d 62 61 63 | 6b 74 69 74 6c 65 20 22 | --bac|ktitle "|
|00004d20| 20 24 54 56 45 52 53 49 | 4f 4e 22 20 5c 0a 20 20 | $TVERSI|ON" \. |
|00004d30| 20 20 20 20 20 20 2d 2d | 74 65 78 74 62 6f 78 20 | --|textbox |
|00004d40| 2f 74 6d 70 2f 73 70 72 | 6f 63 2e 74 6d 70 2e 24 |/tmp/spr|oc.tmp.$|
|00004d50| 24 20 31 38 20 37 36 0a | 20 20 20 20 20 20 20 20 |$ 18 76.| |
|00004d60| 2f 62 69 6e 2f 72 6d 20 | 2d 66 20 2f 74 6d 70 2f |/bin/rm |-f /tmp/|
|00004d70| 73 70 72 6f 63 2e 74 6d | 70 2e 24 24 0a 20 20 20 |sproc.tm|p.$$. |
|00004d80| 20 20 20 20 20 66 69 0a | 0a 20 20 20 20 20 20 20 | fi.|. |
|00004d90| 20 69 66 20 5b 20 22 24 | 73 63 68 6f 69 63 65 22 | if [ "$|schoice"|
|00004da0| 20 3d 20 22 35 22 20 5d | 3b 20 74 68 65 6e 0a 20 | = "5" ]|; then. |
|00004db0| 20 20 20 20 20 20 20 75 | 73 65 72 73 20 3e 20 2f | u|sers > /|
|00004dc0| 74 6d 70 2f 75 73 65 72 | 73 2e 74 6d 70 2e 24 24 |tmp/user|s.tmp.$$|
|00004dd0| 0a 20 20 20 20 20 20 20 | 20 64 69 61 6c 6f 67 20 |. | dialog |
|00004de0| 2d 2d 74 69 74 6c 65 20 | 22 53 79 73 74 65 6d 20 |--title |"System |
|00004df0| 55 73 65 72 73 22 20 5c | 0a 20 20 20 20 20 20 20 |Users" \|. |
|00004e00| 20 2d 2d 62 61 63 6b 74 | 69 74 6c 65 20 22 20 24 | --backt|itle " $|
|00004e10| 54 56 45 52 53 49 4f 4e | 22 20 5c 0a 20 20 20 20 |TVERSION|" \. |
|00004e20| 20 20 20 20 2d 2d 74 65 | 78 74 62 6f 78 20 2f 74 | --te|xtbox /t|
|00004e30| 6d 70 2f 75 73 65 72 73 | 2e 74 6d 70 2e 24 24 20 |mp/users|.tmp.$$ |
|00004e40| 31 35 20 37 36 0a 20 20 | 20 20 20 20 20 20 2f 62 |15 76. | /b|
|00004e50| 69 6e 2f 72 6d 20 2d 66 | 20 2f 74 6d 70 2f 75 73 |in/rm -f| /tmp/us|
|00004e60| 65 72 73 2e 74 6d 70 2e | 24 24 0a 20 20 20 20 20 |ers.tmp.|$$. |
|00004e70| 20 20 20 66 69 0a 0a 09 | 69 66 20 5b 20 22 24 73 | fi...|if [ "$s|
|00004e80| 63 68 6f 69 63 65 22 20 | 3d 20 22 36 22 20 5d 3b |choice" |= "6" ];|
|00004e90| 20 74 68 65 6e 0a 09 66 | 73 6d 61 69 6e 74 0a 20 | then..f|smaint. |
|00004ea0| 20 20 20 20 20 20 20 66 | 69 0a 0a 09 69 66 20 5b | f|i...if [|
|00004eb0| 20 22 24 73 63 68 6f 69 | 63 65 22 20 3d 20 22 37 | "$schoi|ce" = "7|
|00004ec0| 22 20 5d 3b 20 74 68 65 | 6e 0a 09 2f 73 62 69 6e |" ]; the|n../sbin|
|00004ed0| 2f 6c 62 75 0a 09 66 69 | 0a 0a 20 20 20 20 20 20 |/lbu..fi|.. |
|00004ee0| 20 20 69 66 20 5b 20 22 | 24 73 63 68 6f 69 63 65 | if [ "|$schoice|
|00004ef0| 22 20 3d 20 22 38 22 20 | 5d 3b 20 74 68 65 6e 0a |" = "8" |]; then.|
|00004f00| 20 20 20 20 20 20 20 20 | 6d 61 69 6e 0a 20 20 20 | |main. |
|00004f10| 20 20 20 20 20 66 69 0a | 64 6f 6e 65 0a 7d 0a 0a | fi.|done.}..|
|00004f20| 6e 6d 65 6e 75 28 29 0a | 7b 0a 77 68 69 6c 65 20 |nmenu().|{.while |
|00004f30| 5b 20 30 20 5d 3b 20 64 | 6f 0a 0a 20 20 20 20 20 |[ 0 ]; d|o.. |
|00004f40| 20 20 20 64 69 61 6c 6f | 67 20 2d 2d 74 69 74 6c | dialo|g --titl|
|00004f50| 65 20 22 20 24 54 49 54 | 4c 45 22 20 5c 0a 20 20 |e " $TIT|LE" \. |
|00004f60| 20 20 20 20 20 20 2d 2d | 62 61 63 6b 74 69 74 6c | --|backtitl|
|00004f70| 65 20 22 20 24 54 56 45 | 52 53 49 4f 4e 22 20 5c |e " $TVE|RSION" \|
|00004f80| 0a 20 20 20 20 20 20 20 | 20 2d 2d 6d 65 6e 75 20 |. | --menu |
|00004f90| 22 4e 65 74 77 6f 72 6b | 20 4d 65 6e 75 22 20 31 |"Network| Menu" 1|
|00004fa0| 34 20 34 30 20 37 20 5c | 0a 20 20 20 20 20 20 20 |4 40 7 \|. |
|00004fb0| 20 22 31 22 20 22 4e 65 | 74 77 6f 72 6b 20 53 74 | "1" "Ne|twork St|
|00004fc0| 61 74 75 73 22 20 5c 0a | 09 22 32 22 20 22 4e 65 |atus" \.|."2" "Ne|
|00004fd0| 74 77 6f 72 6b 20 41 63 | 63 6f 75 6e 74 73 20 41 |twork Ac|counts A|
|00004fe0| 63 74 69 76 69 74 79 22 | 20 5c 0a 20 20 20 20 20 |ctivity"| \. |
|00004ff0| 20 20 20 22 33 22 20 22 | 43 68 65 63 6b 20 49 50 | "3" "|Check IP|
|00005000| 20 41 64 64 72 65 73 73 | 20 54 61 62 6c 65 22 20 | Address| Table" |
|00005010| 5c 0a 09 22 34 22 20 22 | 43 68 65 63 6b 20 41 52 |\.."4" "|Check AR|
|00005020| 50 20 54 61 62 6c 65 73 | 22 20 5c 0a 20 20 20 20 |P Tables|" \. |
|00005030| 20 20 20 20 22 35 22 20 | 22 50 69 6e 67 20 61 20 | "5" |"Ping a |
|00005040| 73 79 73 74 65 6d 22 20 | 5c 0a 09 22 36 22 20 22 |system" |\.."6" "|
|00005050| 43 68 65 63 6b 20 4b 65 | 72 6e 65 6c 20 52 6f 75 |Check Ke|rnel Rou|
|00005060| 74 69 6e 67 20 54 61 62 | 6c 65 22 20 5c 0a 20 20 |ting Tab|le" \. |
|00005070| 20 20 20 20 20 20 22 37 | 22 20 22 51 55 49 54 20 | "7|" "QUIT |
|00005080| 74 6f 20 4d 61 69 6e 20 | 4d 65 6e 75 22 20 32 3e |to Main |Menu" 2>|
|00005090| 20 2f 74 6d 70 2f 6e 63 | 68 2e 74 6d 70 2e 24 24 | /tmp/nc|h.tmp.$$|
|000050a0| 0a 20 20 20 20 20 20 20 | 20 69 66 20 5b 20 24 3f |. | if [ $?|
|000050b0| 20 3d 20 31 20 2d 6f 20 | 24 3f 20 3d 20 32 35 35 | = 1 -o |$? = 255|
|000050c0| 20 5d 3b 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 | ]; then|. |
|000050d0| 20 20 20 20 20 20 20 20 | 20 2f 62 69 6e 2f 72 6d | | /bin/rm|
|000050e0| 20 2d 66 20 2f 74 6d 70 | 2f 74 6d 70 6d 73 67 20 | -f /tmp|/tmpmsg |
|000050f0| 2f 74 6d 70 2f 6e 63 68 | 2e 74 6d 70 2e 24 24 0a |/tmp/nch|.tmp.$$.|
|00005100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005110| 65 78 69 74 0a 20 20 20 | 20 20 20 20 20 66 69 0a |exit. | fi.|
|00005120| 09 6e 63 68 6f 69 63 65 | 3d 60 63 61 74 20 2f 74 |.nchoice|=`cat /t|
|00005130| 6d 70 2f 6e 63 68 2e 74 | 6d 70 2e 24 24 60 0a 20 |mp/nch.t|mp.$$`. |
|00005140| 20 20 20 20 20 20 20 2f | 62 69 6e 2f 72 6d 20 2d | /|bin/rm -|
|00005150| 66 20 2f 74 6d 70 2f 6e | 63 68 2e 74 6d 70 2e 24 |f /tmp/n|ch.tmp.$|
|00005160| 24 0a 20 20 20 20 20 20 | 20 20 69 66 20 5b 20 22 |$. | if [ "|
|00005170| 24 6e 63 68 6f 69 63 65 | 22 20 3d 20 22 31 22 20 |$nchoice|" = "1" |
|00005180| 5d 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 20 20 |]; then.| |
|00005190| 6e 65 74 73 74 61 74 20 | 3e 20 2f 74 6d 70 2f 6e |netstat |> /tmp/n|
|000051a0| 73 74 61 74 2e 74 6d 70 | 2e 24 24 0a 20 20 20 20 |stat.tmp|.$$. |
|000051b0| 20 20 20 20 64 69 61 6c | 6f 67 20 2d 2d 74 69 74 | dial|og --tit|
|000051c0| 6c 65 20 22 20 4e 65 74 | 77 6f 72 6b 20 53 74 61 |le " Net|work Sta|
|000051d0| 74 73 22 20 5c 0a 20 20 | 20 20 20 20 20 20 2d 2d |ts" \. | --|
|000051e0| 62 61 63 6b 74 69 74 6c | 65 20 22 20 24 54 56 45 |backtitl|e " $TVE|
|000051f0| 52 53 49 4f 4e 22 20 5c | 0a 20 20 20 20 20 20 20 |RSION" \|. |
|00005200| 20 2d 2d 74 65 78 74 62 | 6f 78 20 2f 74 6d 70 2f | --textb|ox /tmp/|
|00005210| 6e 73 74 61 74 2e 74 6d | 70 2e 24 24 20 31 32 20 |nstat.tm|p.$$ 12 |
|00005220| 37 30 0a 20 20 20 20 20 | 20 20 20 2f 62 69 6e 2f |70. | /bin/|
|00005230| 72 6d 20 2d 66 20 2f 74 | 6d 70 2f 6e 73 74 61 74 |rm -f /t|mp/nstat|
|00005240| 2e 74 6d 70 2e 24 24 0a | 20 20 20 20 20 20 20 20 |.tmp.$$.| |
|00005250| 66 69 0a 0a 20 20 20 20 | 20 20 20 20 69 66 20 5b |fi.. | if [|
|00005260| 20 22 24 6e 63 68 6f 69 | 63 65 22 20 3d 20 22 32 | "$nchoi|ce" = "2|
|00005270| 22 20 5d 3b 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |" ]; the|n. |
|00005280| 20 20 2f 73 62 69 6e 2f | 73 6c 32 72 64 62 6c 20 | /sbin/|sl2rdbl |
|00005290| 2f 76 61 72 2f 61 64 6d | 2f 6e 65 74 2d 61 63 63 |/var/adm|/net-acc|
|000052a0| 74 20 3e 20 2f 74 6d 70 | 2f 6e 65 74 61 63 63 74 |t > /tmp|/netacct|
|000052b0| 2e 24 24 0a 20 20 20 20 | 20 20 20 20 64 69 61 6c |.$$. | dial|
|000052c0| 6f 67 20 2d 2d 74 69 74 | 6c 65 20 22 20 4e 65 74 |og --tit|le " Net|
|000052d0| 77 6f 72 6b 20 41 63 74 | 69 76 69 74 79 20 6f 6e |work Act|ivity on|
|000052e0| 20 24 48 4f 53 54 4e 41 | 4d 45 22 20 5c 0a 20 20 | $HOSTNA|ME" \. |
|000052f0| 20 20 20 20 20 20 2d 2d | 62 61 63 6b 74 69 74 6c | --|backtitl|
|00005300| 65 20 22 24 54 56 45 52 | 53 49 4f 4e 22 20 5c 0a |e "$TVER|SION" \.|
|00005310| 20 20 20 20 20 20 20 20 | 2d 2d 74 65 78 74 62 6f | |--textbo|
|00005320| 78 20 2f 74 6d 70 2f 6e | 65 74 61 63 63 74 2e 24 |x /tmp/n|etacct.$|
|00005330| 24 20 31 35 20 37 36 0a | 09 2f 62 69 6e 2f 72 6d |$ 15 76.|./bin/rm|
|00005340| 20 2d 66 20 2f 74 6d 70 | 2f 6e 65 74 61 63 63 74 | -f /tmp|/netacct|
|00005350| 2e 24 24 0a 20 20 20 20 | 20 20 20 20 66 69 0a 0a |.$$. | fi..|
|00005360| 20 20 20 20 20 20 20 20 | 69 66 20 5b 20 22 24 6e | |if [ "$n|
|00005370| 63 68 6f 69 63 65 22 20 | 3d 20 22 33 22 20 5d 3b |choice" |= "3" ];|
|00005380| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 69 66 | then. | if|
|00005390| 63 6f 6e 66 69 67 20 3e | 20 2f 74 6d 70 2f 69 66 |config >| /tmp/if|
|000053a0| 63 2e 24 24 0a 20 20 20 | 20 20 20 20 20 64 69 61 |c.$$. | dia|
|000053b0| 6c 6f 67 20 2d 2d 74 69 | 74 6c 65 20 22 20 43 68 |log --ti|tle " Ch|
|000053c0| 65 63 6b 20 49 50 20 41 | 64 64 72 65 73 73 22 20 |eck IP A|ddress" |
|000053d0| 5c 0a 20 20 20 20 20 20 | 20 20 2d 2d 62 61 63 6b |\. | --back|
|000053e0| 74 69 74 6c 65 20 22 24 | 54 56 45 52 53 49 4f 4e |title "$|TVERSION|
|000053f0| 22 20 5c 0a 20 20 20 20 | 20 20 20 20 2d 2d 74 65 |" \. | --te|
|00005400| 78 74 62 6f 78 20 2f 74 | 6d 70 2f 69 66 63 2e 24 |xtbox /t|mp/ifc.$|
|00005410| 24 20 31 35 20 37 36 0a | 20 20 20 20 20 20 20 20 |$ 15 76.| |
|00005420| 2f 62 69 6e 2f 72 6d 20 | 2d 66 20 2f 74 6d 70 2f |/bin/rm |-f /tmp/|
|00005430| 69 66 63 2e 24 24 0a 20 | 20 20 20 20 20 20 20 66 |ifc.$$. | f|
|00005440| 69 0a 20 20 20 20 20 20 | 20 20 69 66 20 5b 20 22 |i. | if [ "|
|00005450| 24 6e 63 68 6f 69 63 65 | 22 20 3d 20 22 34 22 20 |$nchoice|" = "4" |
|00005460| 5d 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 20 20 |]; then.| |
|00005470| 61 72 70 20 2d 61 20 3e | 20 2f 74 6d 70 2f 61 72 |arp -a >| /tmp/ar|
|00005480| 70 2e 74 6d 70 2e 24 24 | 0a 20 20 20 20 20 20 20 |p.tmp.$$|. |
|00005490| 20 64 69 61 6c 6f 67 20 | 2d 2d 74 69 74 6c 65 20 | dialog |--title |
|000054a0| 22 4c 6f 6f 6b 20 61 74 | 20 41 52 50 20 54 61 62 |"Look at| ARP Tab|
|000054b0| 6c 65 20 66 6f 72 20 24 | 48 4f 53 54 4e 41 4d 45 |le for $|HOSTNAME|
|000054c0| 22 20 5c 0a 20 20 20 20 | 20 20 20 20 2d 2d 62 61 |" \. | --ba|
|000054d0| 63 6b 74 69 74 6c 65 20 | 22 24 54 56 45 52 53 49 |cktitle |"$TVERSI|
|000054e0| 4f 4e 22 20 5c 0a 20 20 | 20 20 20 20 20 20 2d 2d |ON" \. | --|
|000054f0| 74 65 78 74 62 6f 78 20 | 2f 74 6d 70 2f 61 72 70 |textbox |/tmp/arp|
|00005500| 2e 74 6d 70 2e 24 24 20 | 31 35 20 37 30 0a 20 20 |.tmp.$$ |15 70. |
|00005510| 20 20 20 20 20 20 2f 62 | 69 6e 2f 72 6d 20 2d 66 | /b|in/rm -f|
|00005520| 20 2f 74 6d 70 2f 61 72 | 70 2e 74 6d 70 2e 24 24 | /tmp/ar|p.tmp.$$|
|00005530| 0a 20 20 20 20 20 20 20 | 20 66 69 0a 20 20 20 20 |. | fi. |
|00005540| 20 20 20 20 69 66 20 5b | 20 22 24 6e 63 68 6f 69 | if [| "$nchoi|
|00005550| 63 65 22 20 3d 20 22 35 | 22 20 5d 3b 20 74 68 65 |ce" = "5|" ]; the|
|00005560| 6e 0a 09 64 69 61 6c 6f | 67 20 2d 2d 74 69 74 6c |n..dialo|g --titl|
|00005570| 65 20 22 47 65 74 20 61 | 64 64 72 65 73 73 20 74 |e "Get a|ddress t|
|00005580| 6f 20 50 69 6e 67 22 20 | 5c 0a 09 2d 2d 62 61 63 |o Ping" |\..--bac|
|00005590| 6b 74 69 74 6c 65 20 22 | 24 54 56 45 52 53 49 4f |ktitle "|$TVERSIO|
|000055a0| 4e 22 20 5c 0a 09 2d 2d | 69 6e 70 75 74 62 6f 78 |N" \..--|inputbox|
|000055b0| 20 22 57 68 61 74 20 49 | 50 20 61 64 64 72 65 73 | "What I|P addres|
|000055c0| 73 20 74 6f 20 50 49 4e | 47 3f 22 20 31 30 20 37 |s to PIN|G?" 10 7|
|000055d0| 30 20 32 3e 20 2f 74 6d | 70 2f 74 6d 70 2e 6d 73 |0 2> /tm|p/tmp.ms|
|000055e0| 67 2e 24 24 0a 09 50 61 | 64 64 72 3d 60 63 61 74 |g.$$..Pa|ddr=`cat|
|000055f0| 20 2f 74 6d 70 2f 74 6d | 70 2e 6d 73 67 2e 24 24 | /tmp/tm|p.msg.$$|
|00005600| 60 0a 09 2f 62 69 6e 2f | 72 6d 20 2d 66 20 2f 74 |`../bin/|rm -f /t|
|00005610| 6d 70 2f 74 6d 70 2e 6d | 73 67 2e 24 24 0a 20 20 |mp/tmp.m|sg.$$. |
|00005620| 20 20 20 20 20 20 70 69 | 6e 67 20 2d 63 20 31 30 | pi|ng -c 10|
|00005630| 20 24 50 61 64 64 72 20 | 3e 20 2f 74 6d 70 2f 70 | $Paddr |> /tmp/p|
|00005640| 69 6e 67 2e 74 6d 70 2e | 24 24 0a 20 20 20 20 20 |ing.tmp.|$$. |
|00005650| 20 20 20 64 69 61 6c 6f | 67 20 2d 2d 74 69 74 6c | dialo|g --titl|
|00005660| 65 20 22 50 69 6e 67 69 | 6e 67 20 24 50 61 64 64 |e "Pingi|ng $Padd|
|00005670| 72 22 20 5c 0a 20 20 20 | 20 20 20 20 20 2d 2d 62 |r" \. | --b|
|00005680| 61 63 6b 74 69 74 6c 65 | 20 22 24 54 56 45 52 53 |acktitle| "$TVERS|
|00005690| 49 4f 4e 22 20 5c 0a 20 | 20 20 20 20 20 20 20 2d |ION" \. | -|
|000056a0| 2d 74 65 78 74 62 6f 78 | 20 2f 74 6d 70 2f 70 69 |-textbox| /tmp/pi|
|000056b0| 6e 67 2e 74 6d 70 2e 24 | 24 20 31 38 20 37 36 0a |ng.tmp.$|$ 18 76.|
|000056c0| 20 20 20 20 20 20 20 20 | 2f 62 69 6e 2f 72 6d 20 | |/bin/rm |
|000056d0| 2d 66 20 2f 74 6d 70 2f | 70 69 6e 67 2e 74 6d 70 |-f /tmp/|ping.tmp|
|000056e0| 2e 24 24 0a 20 20 20 20 | 20 20 20 20 66 69 0a 20 |.$$. | fi. |
|000056f0| 20 20 20 20 20 20 20 69 | 66 20 5b 20 22 24 6e 63 | i|f [ "$nc|
|00005700| 68 6f 69 63 65 22 20 3d | 20 22 36 22 20 5d 3b 20 |hoice" =| "6" ]; |
|00005710| 74 68 65 6e 0a 20 20 20 | 20 20 20 20 20 2f 73 62 |then. | /sb|
|00005720| 69 6e 2f 72 6f 75 74 65 | 20 2d 6e 20 3e 20 2f 74 |in/route| -n > /t|
|00005730| 6d 70 2f 6b 72 74 2e 24 | 24 0a 20 20 20 20 20 20 |mp/krt.$|$. |
|00005740| 20 20 64 69 61 6c 6f 67 | 20 2d 2d 74 69 74 6c 65 | dialog| --title|
|00005750| 20 22 20 4b 65 72 6e 65 | 6c 20 52 6f 75 74 69 6e | " Kerne|l Routin|
|00005760| 67 20 54 61 62 6c 65 22 | 20 5c 0a 20 20 20 20 20 |g Table"| \. |
|00005770| 20 20 20 2d 2d 62 61 63 | 6b 74 69 74 6c 65 20 22 | --bac|ktitle "|
|00005780| 24 54 56 45 52 53 49 4f | 4e 22 20 5c 0a 20 20 20 |$TVERSIO|N" \. |
|00005790| 20 20 20 20 20 2d 2d 74 | 65 78 74 62 6f 78 20 2f | --t|extbox /|
|000057a0| 74 6d 70 2f 6b 72 74 2e | 24 24 20 31 35 20 37 38 |tmp/krt.|$$ 15 78|
|000057b0| 0a 20 20 20 20 20 20 20 | 20 2f 62 69 6e 2f 72 6d |. | /bin/rm|
|000057c0| 20 2d 66 20 2f 74 6d 70 | 2f 6b 72 74 2e 24 24 0a | -f /tmp|/krt.$$.|
|000057d0| 20 20 20 20 20 20 20 20 | 66 69 09 0a 20 20 20 20 | |fi.. |
|000057e0| 20 20 20 20 69 66 20 5b | 20 22 24 6e 63 68 6f 69 | if [| "$nchoi|
|000057f0| 63 65 22 20 3d 20 22 37 | 22 20 5d 3b 20 74 68 65 |ce" = "7|" ]; the|
|00005800| 6e 0a 20 20 20 20 20 20 | 20 20 6d 61 69 6e 0a 20 |n. | main. |
|00005810| 20 20 20 20 20 20 20 66 | 69 0a 64 6f 6e 65 0a 7d | f|i.done.}|
|00005820| 0a 0a 75 74 69 6c 73 28 | 29 0a 7b 0a 77 68 69 6c |..utils(|).{.whil|
|00005830| 65 20 5b 20 30 20 5d 3b | 20 64 6f 0a 0a 20 20 20 |e [ 0 ];| do.. |
|00005840| 20 20 20 20 20 64 69 61 | 6c 6f 67 20 2d 2d 74 69 | dia|log --ti|
|00005850| 74 6c 65 20 22 20 24 54 | 49 54 4c 45 22 20 5c 0a |tle " $T|ITLE" \.|
|00005860| 20 20 20 20 20 20 20 20 | 2d 2d 62 61 63 6b 74 69 | |--backti|
|00005870| 74 6c 65 20 22 20 24 54 | 56 45 52 53 49 4f 4e 22 |tle " $T|VERSION"|
|00005880| 20 5c 0a 20 20 20 20 20 | 20 20 20 2d 2d 6d 65 6e | \. | --men|
|00005890| 75 20 22 55 74 69 6c 69 | 74 69 65 73 20 4d 65 6e |u "Utili|ties Men|
|000058a0| 75 22 20 31 34 20 35 30 | 20 36 20 5c 0a 20 20 20 |u" 14 50| 6 \. |
|000058b0| 20 20 20 20 20 22 31 22 | 20 22 43 68 65 63 6b 20 | "1"| "Check |
|000058c0| 26 20 45 64 69 74 20 53 | 79 73 74 65 6d 20 50 72 |& Edit S|ystem Pr|
|000058d0| 6f 63 65 73 73 65 73 22 | 20 5c 0a 20 20 20 20 20 |ocesses"| \. |
|000058e0| 20 20 20 22 32 22 20 22 | 46 69 6c 65 20 4d 61 6e | "2" "|File Man|
|000058f0| 61 67 65 72 22 20 5c 0a | 20 20 20 20 20 20 20 20 |ager" \.| |
|00005900| 22 33 22 20 22 53 79 73 | 74 65 6d 20 4e 65 77 73 |"3" "Sys|tem News|
|00005910| 20 45 64 69 74 6f 72 22 | 20 5c 0a 20 20 20 20 20 | Editor"| \. |
|00005920| 20 20 20 22 34 22 20 22 | 45 64 69 74 20 43 52 4f | "4" "|Edit CRO|
|00005930| 4e 54 41 42 53 22 20 5c | 0a 09 22 35 22 20 22 54 |NTABS" \|.."5" "T|
|00005940| 65 58 20 4d 47 52 20 2d | 20 50 72 6f 63 65 73 73 |eX MGR -| Process|
|00005950| 20 2e 74 65 78 2c 20 2e | 64 76 69 20 26 20 2e 70 | .tex, .|dvi & .p|
|00005960| 73 20 66 69 6c 65 73 22 | 20 5c 0a 20 20 20 20 20 |s files"| \. |
|00005970| 20 20 20 22 36 22 20 22 | 51 55 49 54 20 74 6f 20 | "6" "|QUIT to |
|00005980| 4d 61 69 6e 20 4d 65 6e | 75 22 20 32 3e 20 2f 74 |Main Men|u" 2> /t|
|00005990| 6d 70 2f 75 74 69 6c 2e | 74 6d 70 2e 24 24 0a 20 |mp/util.|tmp.$$. |
|000059a0| 20 20 20 20 20 20 20 69 | 66 20 5b 20 24 3f 20 3d | i|f [ $? =|
|000059b0| 20 31 20 2d 6f 20 24 3f | 20 3d 20 32 35 35 20 5d | 1 -o $?| = 255 ]|
|000059c0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 20 |; then. | |
|000059d0| 20 20 20 20 20 20 20 2f | 62 69 6e 2f 72 6d 20 2d | /|bin/rm -|
|000059e0| 66 20 2f 74 6d 70 2f 74 | 6d 70 6d 73 67 20 2f 74 |f /tmp/t|mpmsg /t|
|000059f0| 6d 70 2f 75 74 69 6c 2e | 74 6d 70 2e 24 24 0a 20 |mp/util.|tmp.$$. |
|00005a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|00005a10| 78 69 74 0a 20 20 20 20 | 20 20 20 20 66 69 0a 20 |xit. | fi. |
|00005a20| 20 20 20 20 20 20 20 75 | 74 69 6c 63 68 3d 60 63 | u|tilch=`c|
|00005a30| 61 74 20 2f 74 6d 70 2f | 75 74 69 6c 2e 74 6d 70 |at /tmp/|util.tmp|
|00005a40| 2e 24 24 60 0a 20 20 20 | 20 20 20 20 20 2f 62 69 |.$$`. | /bi|
|00005a50| 6e 2f 72 6d 20 2d 66 20 | 2f 74 6d 70 2f 75 74 69 |n/rm -f |/tmp/uti|
|00005a60| 6c 2e 74 6d 70 2e 24 24 | 0a 20 20 20 20 20 20 20 |l.tmp.$$|. |
|00005a70| 20 69 66 20 5b 20 22 24 | 75 74 69 6c 63 68 22 20 | if [ "$|utilch" |
|00005a80| 3d 20 22 31 22 20 5d 3b | 20 74 68 65 6e 0a 20 20 |= "1" ];| then. |
|00005a90| 20 20 20 20 20 20 67 69 | 74 70 73 0a 20 20 20 20 | gi|tps. |
|00005aa0| 20 20 20 20 66 69 0a 20 | 20 20 20 20 20 20 20 69 | fi. | i|
|00005ab0| 66 20 5b 20 22 24 75 74 | 69 6c 63 68 22 20 3d 20 |f [ "$ut|ilch" = |
|00005ac0| 22 32 22 20 5d 3b 20 74 | 68 65 6e 0a 20 20 20 20 |"2" ]; t|hen. |
|00005ad0| 20 20 20 20 67 69 74 0a | 20 20 20 20 20 20 20 20 | git.| |
|00005ae0| 66 69 0a 20 20 20 20 20 | 20 20 20 69 66 20 5b 20 |fi. | if [ |
|00005af0| 22 24 75 74 69 6c 63 68 | 22 20 3d 20 22 33 22 20 |"$utilch|" = "3" |
|00005b00| 5d 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 20 20 |]; then.| |
|00005b10| 6e 65 77 73 2d 65 64 74 | 0a 20 20 20 20 20 20 20 |news-edt|. |
|00005b20| 20 66 69 0a 20 20 20 20 | 20 20 20 20 69 66 20 5b | fi. | if [|
|00005b30| 20 22 24 75 74 69 6c 63 | 68 22 20 3d 20 22 34 22 | "$utilc|h" = "4"|
|00005b40| 20 5d 3b 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 | ]; then|. |
|00005b50| 20 63 72 6f 6e 2d 65 64 | 74 0a 20 20 20 20 20 20 | cron-ed|t. |
|00005b60| 20 20 66 69 0a 09 69 66 | 20 5b 20 22 24 75 74 69 | fi..if| [ "$uti|
|00005b70| 6c 63 68 22 20 3d 20 22 | 35 22 20 5d 3b 20 74 68 |lch" = "|5" ]; th|
|00005b80| 65 6e 0a 20 20 20 20 20 | 20 20 20 74 65 78 6d 67 |en. | texmg|
|00005b90| 72 0a 20 20 20 20 20 20 | 20 20 66 69 0a 20 20 20 |r. | fi. |
|00005ba0| 20 20 20 20 20 69 66 20 | 5b 20 22 24 75 74 69 6c | if |[ "$util|
|00005bb0| 63 68 22 20 3d 20 22 36 | 22 20 5d 3b 20 74 68 65 |ch" = "6|" ]; the|
|00005bc0| 6e 0a 20 20 20 20 20 20 | 20 20 6d 61 69 6e 0a 20 |n. | main. |
|00005bd0| 20 20 20 20 20 20 20 66 | 69 0a 0a 64 6f 6e 65 0a | f|i..done.|
|00005be0| 7d 0a 0a 6c 65 61 76 65 | 28 29 0a 7b 0a 77 68 69 |}..leave|().{.whi|
|00005bf0| 6c 65 20 5b 20 30 20 5d | 3b 20 64 6f 0a 0a 20 20 |le [ 0 ]|; do.. |
|00005c00| 20 20 20 20 20 20 64 69 | 61 6c 6f 67 20 2d 2d 74 | di|alog --t|
|00005c10| 69 74 6c 65 20 22 20 24 | 54 49 54 4c 45 22 20 5c |itle " $|TITLE" \|
|00005c20| 0a 09 2d 2d 62 61 63 6b | 74 69 74 6c 65 20 22 20 |..--back|title " |
|00005c30| 24 54 56 45 52 53 49 4f | 4e 22 20 5c 0a 20 20 20 |$TVERSIO|N" \. |
|00005c40| 20 20 20 20 20 2d 2d 6d | 65 6e 75 20 22 50 72 65 | --m|enu "Pre|
|00005c50| 70 61 72 65 20 41 64 6d | 69 6e 2e 4c 6f 67 22 20 |pare Adm|in.Log" |
|00005c60| 31 32 20 34 35 20 33 20 | 5c 0a 20 20 20 20 20 20 |12 45 3 |\. |
|00005c70| 20 20 22 31 22 20 22 56 | 69 65 77 20 41 64 6d 69 | "1" "V|iew Admi|
|00005c80| 6e 2e 4c 6f 67 22 20 5c | 0a 20 20 20 20 20 20 20 |n.Log" \|. |
|00005c90| 20 22 32 22 20 22 55 70 | 64 61 74 65 20 41 64 6d | "2" "Up|date Adm|
|00005ca0| 69 6e 2e 4c 6f 67 22 20 | 5c 0a 20 20 20 20 20 20 |in.Log" |\. |
|00005cb0| 20 20 22 33 22 20 22 51 | 55 49 54 22 20 32 3e 20 | "3" "Q|UIT" 2> |
|00005cc0| 2f 74 6d 70 2f 6d 79 63 | 68 2e 74 6d 70 2e 24 24 |/tmp/myc|h.tmp.$$|
|00005cd0| 0a 20 20 20 20 20 20 20 | 20 69 66 20 5b 20 24 3f |. | if [ $?|
|00005ce0| 20 3d 20 31 20 2d 6f 20 | 24 3f 20 3d 20 32 35 35 | = 1 -o |$? = 255|
|00005cf0| 20 5d 3b 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 | ]; then|. |
|00005d00| 20 20 20 20 20 20 20 20 | 20 2f 62 69 6e 2f 72 6d | | /bin/rm|
|00005d10| 20 2d 66 20 2f 74 6d 70 | 2f 74 6d 70 6d 73 67 20 | -f /tmp|/tmpmsg |
|00005d20| 2f 74 6d 70 2f 6d 79 63 | 68 2e 74 6d 70 2e 24 24 |/tmp/myc|h.tmp.$$|
|00005d30| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005d40| 20 65 78 69 74 0a 20 20 | 20 20 20 20 20 20 66 69 | exit. | fi|
|00005d50| 0a 20 20 20 20 20 20 20 | 20 6c 63 68 6f 69 63 65 |. | lchoice|
|00005d60| 3d 60 63 61 74 20 2f 74 | 6d 70 2f 6d 79 63 68 2e |=`cat /t|mp/mych.|
|00005d70| 74 6d 70 2e 24 24 60 0a | 20 20 20 20 20 20 20 20 |tmp.$$`.| |
|00005d80| 2f 62 69 6e 2f 72 6d 20 | 2d 66 20 2f 74 6d 70 2f |/bin/rm |-f /tmp/|
|00005d90| 6d 79 63 68 2e 74 6d 70 | 2e 24 24 0a 0a 20 09 69 |mych.tmp|.$$.. .i|
|00005da0| 66 20 5b 20 22 24 6c 63 | 68 6f 69 63 65 22 20 3d |f [ "$lc|hoice" =|
|00005db0| 20 22 31 22 20 5d 3b 20 | 74 68 65 6e 0a 20 20 20 | "1" ]; |then. |
|00005dc0| 20 20 20 20 20 64 69 61 | 6c 6f 67 20 2d 2d 74 69 | dia|log --ti|
|00005dd0| 74 6c 65 20 22 20 24 54 | 49 54 4c 45 22 5c 0a 09 |tle " $T|ITLE"\..|
|00005de0| 2d 2d 62 61 63 6b 74 69 | 74 6c 65 20 22 20 24 54 |--backti|tle " $T|
|00005df0| 56 45 52 53 49 4f 4e 22 | 20 5c 0a 20 20 20 20 20 |VERSION"| \. |
|00005e00| 20 20 20 2d 2d 74 65 78 | 74 62 6f 78 20 2f 76 61 | --tex|tbox /va|
|00005e10| 72 2f 61 64 6d 2f 41 64 | 6d 69 6e 2e 4c 6f 67 20 |r/adm/Ad|min.Log |
|00005e20| 31 38 20 37 30 0a 20 20 | 20 20 20 20 20 20 2f 62 |18 70. | /b|
|00005e30| 69 6e 2f 72 6d 20 2d 66 | 20 2f 74 64 6f 6e 65 72 |in/rm -f| /tdoner|
|00005e40| 6f 6e 2e 74 6d 70 2e 24 | 24 0a 20 20 20 20 20 20 |on.tmp.$|$. |
|00005e50| 20 20 66 69 0a 0a 09 69 | 66 20 5b 20 22 24 6c 63 | fi...i|f [ "$lc|
|00005e60| 68 6f 69 63 65 22 20 3d | 20 22 32 22 20 5d 3b 20 |hoice" =| "2" ]; |
|00005e70| 74 68 65 6e 0a 09 24 41 | 45 44 49 54 20 2f 76 61 |then..$A|EDIT /va|
|00005e80| 72 2f 61 64 6d 2f 41 64 | 6d 69 6e 2e 4c 6f 67 0a |r/adm/Ad|min.Log.|
|00005e90| 09 66 69 0a 0a 20 20 20 | 20 20 20 20 20 69 66 20 |.fi.. | if |
|00005ea0| 5b 20 22 24 6c 63 68 6f | 69 63 65 22 20 3d 20 22 |[ "$lcho|ice" = "|
|00005eb0| 33 22 20 5d 3b 20 74 68 | 65 6e 0a 09 63 6c 65 61 |3" ]; th|en..clea|
|00005ec0| 72 0a 20 20 20 20 20 20 | 20 20 65 78 69 74 0a 20 |r. | exit. |
|00005ed0| 20 20 20 20 20 20 20 66 | 69 0a 64 6f 6e 65 0a 7d | f|i.done.}|
|00005ee0| 0a 0a 61 64 64 2d 75 73 | 65 72 28 29 0a 7b 0a 77 |..add-us|er().{.w|
|00005ef0| 68 69 6c 65 20 5b 20 30 | 20 5d 3b 20 64 6f 0a 09 |hile [ 0| ]; do..|
|00005f00| 64 69 61 6c 6f 67 20 2d | 2d 74 69 74 6c 65 20 22 |dialog -|-title "|
|00005f10| 41 64 64 20 41 20 4e 65 | 77 20 55 73 65 72 22 20 |Add A Ne|w User" |
|00005f20| 5c 0a 09 2d 2d 62 61 63 | 6b 74 69 74 6c 65 20 22 |\..--bac|ktitle "|
|00005f30| 20 24 54 56 45 52 53 49 | 4f 4e 22 20 5c 0a 09 2d | $TVERSI|ON" \..-|
|00005f40| 2d 69 6e 70 75 74 62 6f | 78 20 22 4e 65 77 20 55 |-inputbo|x "New U|
|00005f50| 73 65 72 73 20 4c 4f 47 | 49 4e 20 4e 61 6d 65 20 |sers LOG|IN Name |
|00005f60| 28 61 74 20 6c 65 61 73 | 74 20 36 20 43 68 61 72 |(at leas|t 6 Char|
|00005f70| 73 29 3a 22 20 31 30 20 | 37 30 20 32 3e 20 2f 74 |s):" 10 |70 2> /t|
|00005f80| 6d 70 2f 75 73 65 72 2e | 74 6d 70 2e 24 24 0a 09 |mp/user.|tmp.$$..|
|00005f90| 55 73 65 72 4e 61 6d 65 | 3d 60 63 61 74 20 2f 74 |UserName|=`cat /t|
|00005fa0| 6d 70 2f 75 73 65 72 2e | 74 6d 70 2e 24 24 60 0a |mp/user.|tmp.$$`.|
|00005fb0| 09 2f 62 69 6e 2f 72 6d | 20 2d 66 20 2f 74 6d 70 |./bin/rm| -f /tmp|
|00005fc0| 2f 75 73 65 72 2e 74 6d | 70 2e 24 24 0a 20 0a 20 |/user.tm|p.$$. . |
|00005fd0| 20 20 20 20 20 20 20 64 | 69 61 6c 6f 67 20 2d 2d | d|ialog --|
|00005fe0| 74 69 74 6c 65 20 22 41 | 64 64 20 41 20 4e 65 77 |title "A|dd A New|
|00005ff0| 20 55 73 65 72 22 20 5c | 0a 09 2d 2d 62 61 63 6b | User" \|..--back|
|00006000| 74 69 74 6c 65 20 22 20 | 24 54 56 45 52 53 49 4f |title " |$TVERSIO|
|00006010| 4e 22 20 5c 0a 20 20 20 | 20 20 20 20 20 2d 2d 69 |N" \. | --i|
|00006020| 6e 70 75 74 62 6f 78 20 | 22 24 55 73 65 72 4e 61 |nputbox |"$UserNa|
|00006030| 6d 65 27 73 20 46 75 6c | 6c 20 4e 61 6d 65 3a 22 |me's Ful|l Name:"|
|00006040| 20 31 30 20 37 30 20 32 | 3e 20 2f 74 6d 70 2f 66 | 10 70 2|> /tmp/f|
|00006050| 75 73 65 72 2e 74 6d 70 | 2e 24 24 0a 20 20 20 20 |user.tmp|.$$. |
|00006060| 20 20 20 20 46 4e 41 4d | 45 3d 60 63 61 74 20 2f | FNAM|E=`cat /|
|00006070| 74 6d 70 2f 66 75 73 65 | 72 2e 74 6d 70 2e 24 24 |tmp/fuse|r.tmp.$$|
|00006080| 60 0a 20 20 20 20 20 20 | 20 20 2f 62 69 6e 2f 72 |`. | /bin/r|
|00006090| 6d 20 2d 66 20 2f 74 6d | 70 2f 66 75 73 65 72 2e |m -f /tm|p/fuser.|
|000060a0| 74 6d 70 2e 24 24 0a 09 | 4c 55 49 44 3d 60 74 61 |tmp.$$..|LUID=`ta|
|000060b0| 69 6c 20 2d 31 20 2f 65 | 74 63 2f 70 61 73 73 77 |il -1 /e|tc/passw|
|000060c0| 64 20 7c 20 63 75 74 20 | 2d 66 33 20 2d 64 3a 60 |d | cut |-f3 -d:`|
|000060d0| 20 0a 09 4e 55 49 44 3d | 60 65 78 70 72 20 24 4c | ..NUID=|`expr $L|
|000060e0| 55 49 44 20 2b 20 31 60 | 0a 20 20 20 20 20 20 20 |UID + 1`|. |
|000060f0| 20 64 69 61 6c 6f 67 20 | 2d 2d 74 69 74 6c 65 20 | dialog |--title |
|00006100| 22 41 64 64 20 41 20 4e | 65 77 20 55 73 65 72 22 |"Add A N|ew User"|
|00006110| 20 5c 0a 09 2d 2d 62 61 | 63 6b 74 69 74 6c 65 20 | \..--ba|cktitle |
|00006120| 22 20 24 54 56 45 52 53 | 49 4f 4e 22 20 5c 0a 20 |" $TVERS|ION" \. |
|00006130| 20 20 20 20 20 20 20 2d | 2d 6d 73 67 62 6f 78 20 | -|-msgbox |
|00006140| 22 24 55 73 65 72 4e 61 | 6d 65 27 73 20 49 44 20 |"$UserNa|me's ID |
|00006150| 28 6e 75 6d 62 65 72 29 | 20 69 73 3a 24 4e 55 49 |(number)| is:$NUI|
|00006160| 44 22 20 31 30 20 37 30 | 09 0a 09 20 0a 20 20 20 |D" 10 70|... . |
|00006170| 20 20 20 20 20 64 69 61 | 6c 6f 67 20 2d 2d 74 69 | dia|log --ti|
|00006180| 74 6c 65 20 22 41 64 64 | 20 41 20 4e 65 77 20 55 |tle "Add| A New U|
|00006190| 73 65 72 22 20 5c 0a 09 | 2d 2d 62 61 63 6b 74 69 |ser" \..|--backti|
|000061a0| 74 6c 65 20 22 20 24 54 | 56 45 52 53 49 4f 4e 22 |tle " $T|VERSION"|
|000061b0| 20 5c 0a 20 20 20 20 20 | 20 20 20 2d 2d 69 6e 70 | \. | --inp|
|000061c0| 75 74 62 6f 78 20 22 24 | 55 73 65 72 4e 61 6d 65 |utbox "$|UserName|
|000061d0| 27 73 20 47 72 6f 75 70 | 20 28 20 68 69 74 20 45 |'s Group| ( hit E|
|000061e0| 4e 54 45 52 20 66 6f 72 | 20 64 65 66 61 75 6c 74 |NTER for| default|
|000061f0| 20 67 72 6f 75 70 20 5c | 0a 6f 66 20 55 53 45 52 | group \|.of USER|
|00006200| 53 20 28 31 30 30 29 29 | 3a 22 20 31 30 20 37 35 |S (100))|:" 10 75|
|00006210| 20 32 3e 20 2f 74 6d 70 | 2f 67 75 73 65 72 2e 74 | 2> /tmp|/guser.t|
|00006220| 6d 70 2e 24 24 0a 09 69 | 66 20 5b 20 22 60 63 61 |mp.$$..i|f [ "`ca|
|00006230| 74 20 2f 74 6d 70 2f 67 | 75 73 65 72 2e 74 6d 70 |t /tmp/g|user.tmp|
|00006240| 2e 24 24 60 22 20 3d 20 | 22 22 20 5d 3b 20 74 68 |.$$`" = |"" ]; th|
|00006250| 65 6e 0a 09 20 20 4e 47 | 49 44 3d 22 31 30 30 22 |en.. NG|ID="100"|
|00006260| 0a 09 65 6c 73 65 0a 20 | 20 20 20 20 20 20 20 20 |..else. | |
|00006270| 20 4e 47 49 44 3d 60 63 | 61 74 20 2f 74 6d 70 2f | NGID=`c|at /tmp/|
|00006280| 67 75 73 65 72 2e 74 6d | 70 2e 24 24 60 0a 09 66 |guser.tm|p.$$`..f|
|00006290| 69 0a 20 20 20 20 20 20 | 20 20 2f 62 69 6e 2f 72 |i. | /bin/r|
|000062a0| 6d 20 2d 66 20 2f 74 6d | 70 2f 67 75 73 65 72 2e |m -f /tm|p/guser.|
|000062b0| 74 6d 70 2e 24 24 0a 20 | 0a 20 20 20 20 20 20 20 |tmp.$$. |. |
|000062c0| 20 64 69 61 6c 6f 67 20 | 2d 2d 74 69 74 6c 65 20 | dialog |--title |
|000062d0| 22 41 64 64 20 41 20 4e | 65 77 20 55 73 65 72 22 |"Add A N|ew User"|
|000062e0| 20 5c 0a 09 2d 2d 62 61 | 63 6b 74 69 74 6c 65 20 | \..--ba|cktitle |
|000062f0| 22 20 24 54 56 45 52 53 | 49 4f 4e 22 20 5c 0a 20 |" $TVERS|ION" \. |
|00006300| 20 20 20 20 20 20 20 2d | 2d 69 6e 70 75 74 62 6f | -|-inputbo|
|00006310| 78 20 22 24 55 73 65 72 | 4e 61 6d 65 27 73 20 48 |x "$User|Name's H|
|00006320| 6f 6d 65 20 44 69 72 65 | 63 74 6f 72 79 3a 20 5c |ome Dire|ctory: \|
|00006330| 0a 48 69 74 20 45 4e 54 | 45 52 20 66 6f 72 20 64 |.Hit ENT|ER for d|
|00006340| 65 66 61 75 6c 74 3a 2f | 68 6f 6d 65 2f 75 73 65 |efault:/|home/use|
|00006350| 72 73 2f 24 55 73 65 72 | 4e 61 6d 65 20 22 20 31 |rs/$User|Name " 1|
|00006360| 30 20 37 35 20 32 3e 20 | 2f 74 6d 70 2f 64 75 73 |0 75 2> |/tmp/dus|
|00006370| 65 72 2e 74 6d 70 2e 24 | 24 0a 09 69 66 20 5b 20 |er.tmp.$|$..if [ |
|00006380| 22 60 63 61 74 20 2f 74 | 6d 70 2f 64 75 73 65 72 |"`cat /t|mp/duser|
|00006390| 2e 74 6d 70 2e 24 24 60 | 22 20 3d 20 22 22 20 5d |.tmp.$$`|" = "" ]|
|000063a0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 20 |; then. | |
|000063b0| 20 48 44 49 52 3d 2f 68 | 6f 6d 65 2f 75 73 65 72 | HDIR=/h|ome/user|
|000063c0| 73 2f 24 55 73 65 72 4e | 61 6d 65 20 0a 20 20 20 |s/$UserN|ame . |
|000063d0| 20 20 20 20 20 65 6c 73 | 65 0a 20 20 20 20 20 20 | els|e. |
|000063e0| 20 20 20 20 48 44 49 52 | 3d 60 63 61 74 20 2f 74 | HDIR|=`cat /t|
|000063f0| 6d 70 2f 64 75 73 65 72 | 2e 74 6d 70 2e 24 24 60 |mp/duser|.tmp.$$`|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.